How to set java home path in windows 7 ?

Find JDK Installation Directory

First you need to know the installation path for the Java Development Kit.

Open the default installation path for the Java Development Kit

C:\Program Files\Java
There should be a subdirectory like

C:\Program Files\Java\jdk1.6.0_10
Set the JAVA_HOME Variable

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.
Tagged:
Sign In or Register to comment.