Overslaan naar hoofdinhoud

Install Java 8 for use with ESET Security Management Center 7 Web Console - Kennisbank / Legacy / ESET Security Management Center / 7.x - ESET Tech Center

Install Java 8 for use with ESET Security Management Center 7 Web Console

Lijst van auteurs

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

  1. Download the Java 8 installer from the Java website.
     
  2. Run the downloaded Java installer.

 

Install Java 8 on Debian

  1. Open a new Terminal window.
     
  2. Switch to the root user:

    sudo su
     
  3. Enter the root password.
     
  4. Install the default-jre package:

    apt-get install default-jre
     
  5. Install the default-jdk package:

    apt-get install default-jdk
     
  6. Install the software-properties-common package:

    apt-get install software-properties-common
     
  7. Add the Ubuntu Xenial repository:

    add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main"
     
  8. Update the list of packages available from the repositories:

    apt-get update
     
  9. Install the oracle-java8-installer package:

    apt-get install oracle-java8-installer
     
  10. 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.

  1. Verify that the tomcat8 package is installed:

    dpkg -l tomcat8

    If the tomcat8 package is not installed, install it:

    apt-get install tomcat8
     
  2. Open the tomcat8 configuration file in a text editor:

    nano /etc/default/tomcat8
     
  3. 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
 

  1. 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"
 

  1. Save your changes to the tomcat8 file.
     
  2. 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.

  1. Update your repository:

    yum makecache
     
  2. Install Java OpenJDK package with its dependencies

    yum install java-1.8.0-openjdk.x86_64
     
  3. Upgrade Tomcat to the latest version:

    yum install tomcat
     
  4. You can continue in upgrade to ESMC 7.

Reactie toevoegen

Log in of registreer om een reactie te plaatsen.

Heeft u een wachtwoordherinnering nodig?