Updating Java™

Depending on how you install and manage Java on your Red Hat Enterprise Linux(RHEL) system, the location of Java changes with each upgrade. For example, if you specified that the Xpress Insight Server use Java from a specific location, such as /usr/lib/jvm/jre-11-openjdk-11.0.2.7-0.el7_6.x86_64, which contains the version in the path, the location changes per upgrade.

When the path to Java changes, update the Xpress Insight Server configuration to point to the new path by opening the /etc/sysconfig/xpress-insight-server file and change the variable: JAVA_HOME.

If you installed OpenJDK using the system package manager for Red Hat Linux, you can avoid having to change this link to Java after an upgrade by using the symbolic link maintained by the system, for example set JAVA_HOME during installation to: /etc/alternatives/jre_11.

You can see what the current jre_11 is linked to by running: alternatives --display jre_11.

Important Whenever you install an updated version of Java, you must restart Xpress Insight Server by running: service xpress-insight-server restart