Adding a JRE Environment Variable

In Java JRE, you must add a new system environment variable (not a user) for JAVA_HOME:

  • Variable name: JAVA_HOME

  • Variable value: C:\Program Files\Java\jre1.8.0_333

    Note:  The version number shown in the path may change based on the installed JRE version.

Perform the following procedure to add the system environment variable:

  1. Open System Properties and select the Advanced tab. Click Environment Variables.

  2. Under System variables, click New.

  3. Enter the Variable name and Variable value.

    Click OK.