Skip to main content

Configuring the Java Environment Variable

There are environments where it might be necessary to manually configure Java in order to be able to use the USU Discovery Data Hub Agent. One use case where this might be necessary is, when multiple Java editions and/or versions are installed on a machine.

In order to configure a specific Java for USU Discovery Data Hub if multiple Java versions are installed the JAVA_HOME environment variable needs to be configured manually.

  1. Open the System Properties and select the Advanced tab.

  2. In the Advanced tab click on the Environment Variables... button.

  3. Search for the JAVA_HOME variable, click on the Edit... button and manually set the variable to the desired Java version.

    Important

    The variable should be set with \bin at the end.

    Important

    After installing a new Java or changing the environment variable the USU Discovery Data Hub Agent service needs to be restarted to recognize the changes!