- Append the Java JDK bin directory to the environment variable “path”
C:\> echo %PATH%
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Java\jdk1.6.0_18\bin;C:\Program Files\GTK2-Runtime\bin;C:\Program Files\WinSCP\;C:\Program Files\Vim\vim73 - Set the JAVA_HOME environment path
C:\> echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_18 - Set the CLASSPATH to point to the %JAVA_HOME%\lib\tools.jar.
C:\> echo %CLASSPATH%
C:\C:\Program Files\Java\jdk1.6.0_18\lib\tools.jar
Advertisement