How to update the Java installation
For security reasons, the JDK that is used for running Stages should be updated on a regular basis.
In order to update Java, please perform the following steps:
- Download the latest JDK release
- Stop the Stages service
- Set the JAVA_HOME system variable to the correct file path
- Restart the Stages service
For Linux systems it is possible to explicitly define another Java version in this file:
<stages_dir>/bin/rc.conf
typically: /opt/stages/bin/rc.conf
Define the variable CONF_JAVA_HOME to point to the correct file path.
For Windows systems, the JAVA_HOME system variable is read and stored at the time of the Stages installation. You can change the path to the JDK installation in the JAVA_HOME variable in the file <stages_dir>\config.bat. After that, run the batch file <stages_dir>\bin\reinstallService.bat.
If needed, this change will be necessary additionally after resetting the system environment variable JAVA_HOME.