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:

  1. Right-click the My Computer icon on
  2. your desktop and select Properties.
  3. Click the Advanced tab. Click the
  4. Environment Variables button. Under System Variables, click New.
  5. Enter the variable name as JAVA_HOME.
  6. Enter the variable value as the installation path for the Java Development Kit.
  7. Click OK.
  8. Click Apply Changes.

You might need to restart windows.

Add comment


Security code
Refresh

Joomla templates by a4joomla