Before you begin the installation process, you must configure environment variables that specify the location for your installation of 64-bit Java.
Set the JAVA_HOME variable to point to the Java application folder on your system, and add the path to the Java bin folder to the system PATH variable. If an earlier version of Java is installed on the system, add the required version of Java in the PATH variable before the earlier version.
Note: The environment variable settings described here may already be configured if you ran a setup application to install Java.
-
Open the Windows Environment Variables dialog box.
-
Add JAVA_HOME as a new Windows environment variable to specify the Java application folder.
-
Add %JAVA_HOME%\bin to the Path variable.
- In System variables, click the Path variable.
- Click Edit.
- Double-click the first blank entry in the box.
- Enter %JAVA_HOME%\bin.
- Click OK