06 March 2014

Windows: Set the JAVA_HOME Variable

Set the JAVA_HOME Variable in Windows

Once you have the JDK installation path:
Right-click the My Computer icon on your desktop and select Properties.
Click the Advanced tab.
Click the Environment Variables button.
Under System Variables, click New.
Enter the variable name as JAVA_HOME.
Enter the variable value as the installation path for the Java Development Kit.
Click OK.
Click Apply Changes.

You might need to restart windows.

No comments: