Following steps help you to set the JAVA_HOME Environment Variable in Windows OS
First check where the Java Development Kit is installed.
Usually path would be similar to one below:
C:\Program Files\Java\jdk1.6.0_10
Copy this path and do following
Right-click My Computer icon on your desktop
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 for example C:\Program Files\Java\jdk1.6.0_10
Click OK.
Click Apply Changes.
You might require to restart windows.
0 Comment(s)