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

Solution

ESET business product in Limited Support status

This article applies to an ESET product version that is currently in Limited Support status and is scheduled to reach End of Life status soon.

For a complete list of supported products and support level definitions, review the ESET End of Life Policy for business products.

Upgrade ESET business products.

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.

  1. Run the downloaded Java installer.
Public updates for Oracle Java SE 8 require a paid license after January 2019

Starting January 2019, Oracle JAVA SE 8 public updates for business, commercial or production use will require a commercial license. If you do not purchase a JAVA SE subscription, you can use this guide to transition to a no-cost alternative. This change only affects installation on Windows platforms.

 

Install Java 8 on Debian

    1. Open a new Terminal window.

    1. Switch to the root user:

      sudo su

    1. Enter the root password.

    1. Install the default-jre package:

      apt-get install default-jre

    1. Install the default-jdk package:

      apt-get install default-jdk

    1. Install the software-properties-common package:

      apt-get install software-properties-common

    1. Add the Ubuntu Xenial repository:

      add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main"

    1. Update the list of packages available from the repositories:

      apt-get update

    1. Install the oracle-java8-installer package:

      apt-get install oracle-java8-installer

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

    1. Open the tomcat8 configuration file in a text editor:

      nano /etc/default/tomcat8

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

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

    1. Install Java OpenJDK package with its dependencies

      yum install java-1.8.0-openjdk.x86_64

    1. Upgrade Tomcat to the latest version:

      yum install tomcat

  1. You can continue in upgrade to ESMC 7.