Java Configuration
From version 7.22.0, a Java Runtime Environment 11 distribution is bundled with OPSWAT Central Management. This Java distribution will be used by default.
The instructions below allow you to specify another Java distribution for OPSWAT Central Management.
Please note that if the user-provided Java distribution fails the validity check, OPSWAT Central Management will fall back to using the bundled Java distribution instead.
The Java installation used by OPSWAT Central Management can be changed by following the below guidelines:
On Windows:
1/ Locate the file ProgramData/OPSWAT/Central/config.properties.
2/ Add or modify the java_path variable to the desired value. For example:
3/ Restart OPSWAT Central Management via the tray icon.
On Linux:
1/ Locate the file /usr/lib/ocm/ocm.service
2/ Find the EnvironmentFile variable, which should point to the file used to set up OPSWAT Central Management's environment variables. Open this file.
3/ Add or modify either the JRE_HOME or JAVA_HOME variables.
You should use only one variable: JRE_HOME with a Java Runtime Environment(JRE) distribution or JAVA_HOME with a Java Development Kit (JDK) distribution. For example:
4/ Restart OPSWAT Central Management via the command: