Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The problem might occur due to the fact that the Java Runtime Environment (JRE) is has not been found. More precisely the JAVA_HOME environment variable is not set for the account that is used for the JOC Cockpit Windows Service. If not otherwise specified during installation the , the system account is used.

Users might observe that the installation procedure works fine as it is performed from a user account. However, with the system account being used, Java cannot be found on start-up of the Windows Service due to the missing environment variable.

...

There are a number of ways how resolve the issue:

  • Consider the Refer to the JS7 - How To - Apply Java Options article that which explains how to set the JAVA_HOME environment variable for a Windows Service. 
  • As an alternative the following script can be used:

    Code Block
    titleSet Java Location
    C:\Program Files\sos-berlin.com\JS7\JOC\service\set_java_home_for_jetty_windows_service.cmd "C:\Program Files\Java\jdk11.0.13_8"


    As the only argument to the script the The path to the JDK or JRE is specified as the only argument to the script.