Solution
You must have Java 8 installed for ESET Security Management Center 7 Web Console to function properly. Visit https://java.com/en/download/help/sysreq.xml to verify that Java 8 is compatible with your operating system.
Install Java 8 on Windows
- Download the Java 8 installer from the Java website.
- Run the downloaded Java installer.
Install Java 8 on Debian
- Open a new Terminal window.
- Switch to the
root
user:sudo su
- Enter the root password.
- Install the
default-jre
package:apt-get install default-jre
- Install the
default-jdk
package:apt-get install default-jdk
- Install the
software-properties-common
package:apt-get install software-properties-common
- Add the Ubuntu Xenial repository:
add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main"
- Update the list of packages available from the repositories:
apt-get update
- Install the
oracle-java8-installer
package:apt-get install oracle-java8-installer
- Verify that Java 8 is installed:
dpkg -l oracle-java8-installer
Configure Tomcat 8 to use Java 8 on Debian
Make sure that you are logged in as root.
- Verify that the
tomcat8
package is installed:dpkg -l tomcat8
If thetomcat8
package is not installed, install it:apt-get install tomcat8
- Open the tomcat8 configuration file in a text editor:
nano /etc/default/tomcat8
- Set Java 8 as the default for Tomcat. Edit the following line:
Original line:#JAVA_HOME=/usr/lib/jvm/java-8-openjdk
Edited line:JAVA_HOME=/usr/lib/jvm/java-8-oracle
- If you are working in an enterprise environment, increase the memory size for Java to 2048 MB by editing the following line:
Original line:JAVA_OPTS="-Xms512M -Xmx1024M"
Edited line:JAVA_OPTS="-Xms512M -Xmx2048M"
- Save your changes to the
tomcat8
file.
- Restart the
tomcat8
service:service tomcat8 restart
Upgrade Java when upgrading from ERA Virtual Appliance 6.3 to ESMC Virtual Appliance 7
When upgrading from ERA 6.3 VA to ESMC 7 Virtual Appliance, you need to update both Java and Tomcat.
Virtual Appliance Upgrade Recommendation:
The recommended way to upgrade the Virtual Appliance is to pull the database to a new appliance, to keep your OS up to date.
Log in the ERA VA virtual machine terminal as root and proceed according to steps below.
- Update your repository:
yum makecache
- Install Java OpenJDK package with its dependencies
yum install java-1.8.0-openjdk.x86_64
- Upgrade Tomcat to the latest version:
yum install tomcat
- You can continue in upgrade to ESMC 7.
Reactie toevoegen
Log in of registreer om een reactie te plaatsen.