Set Java Environment Variables

The Java Environment variables are set automatically when you run the APM Connect installer. However, if you need to update or reinstall Java without reinstalling APM Connect, complete these steps to configure Java on your APM Connect server.

Steps

  1. On the APM Connect server, navigate to Control Panel\System and Security\System to open system properties for the Windows machine.

    The View basic information about your computer screen appears.

  2. In the Control Panel Home pane, select Advanced systems settings.

    The System Properties window appears, displaying the Advanced tab.

  3. Select Environment Variables....

    The Environment Variables window appears.

  4. In the System variables section, select New....

    The New System Variable window appears.

  5. In the Variable name box, enter JAVA_HOME.
  6. In the Variable value box, enter the path to the root jdk installation directory. If you installed Java in the default location, the path you should enter is C:\Program Files\Java\jdk<JAVA_VERSION_NUMBER>. For example, the default path for Java 8 is C:\Program Files\Java\jdk1.8.0_131

  7. Select OK.
  8. In the System variables section, select New....

    The New System Variable window appears.

  9. In the Variable name box, enter JRE_HOME.
  10. In the Variable value box, enter the path to the root jre installation directory. If you installed Java in the default location, the path you should enter is C:\Program Files\Java\jdk<JAVA_VERSION_NUMBER>\jre. For example, the default path for Java 8 is C:\Program Files\Java\jdk1.8.0_131\jre

  11. Select OK, and then close the properties window.

    The Java environment variables are created.

Copyright © 2018 General Electric Company. All rights reserved.