Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
261:update_java [2026/11/19 16:48] – created Nerlich, Axel261:update_java [2026/11/19 17:08] (current) – Nerlich, Axel
Line 1: Line 1:
-This page is currently being edited. Check back for updates shortly.+===== 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.