It's recommended to run XpoLog with an updated Java version. During product releases we are updating the internal Java version that XpoLog is using and in addition we release patches with only Java version update.
The deployment of the update is simple and is done as any other patch that is published for XpoLog.
Checking the Java version
Check the current Java version your deployment is using:
- Go to XpoLog Manager > System > System Health
- Select the 'System Information' section and look for 'Java Version'
- In case the displayed Java version is lower than the one in the subject of this page, its recommended that you'll deploy the update
Note: if you're running XpoLog as a cluster with multiple instances, make sure to check each one (under the same section in the System Health console)
Updating the Java version
There are 2 options to update the Java version, one is to use an external Java that you may already have installed on the XpoLog machine(s), or to deploy the update patch and the internal Java that XpoLog uses by default will be updated:
- Using a Java that is already installed on the machine(s):
- Ensure you have Java installed on each of the machines that XpoLog runs on
- For each XpoLog installation, edit the file XpoLog.lax (Windows) or XpoLog.sh.lax (Linux) and look for the line starting with 'lax.nl.current.vm'
- Modify it to the Java path you wish to use (for example lax.nl.current.vm=jre/bin/Java)
- Save and restart XpoLog (this should be done on all instances)
- Recommended - Apply the patch to update the internal Java version:
- After verification - remove previous Java version from the server.
Once verified at XpoLog Manager > System > System Health ('System Information' section) that each of the instances uses the updated Java version, remove the old jre directory from the server:
- Go to INSTALLATION_DIRECTORY (of each XpoLog instance you're running)
- Check all directories that their name starts with jre
- Leave only the directory 'jre_1_8_281' and delete all other jre* directories (these contain older Java versions).