Appendix D. Installing the Sun JDK on Microsoft Windows
Procedure D.1. Installing and Configuring the 32-bit Sun JDK on Microsoft Windows
Download the Software
Download the Sun Java 2 Development Kit from http://www.oracle.com/technetwork/java/javase/downloads/index.html.- Create an environmental variable called
JAVA_HOMEthat points to directory in which the JDK will be installed, such asC:\Program Files\Java\jdk1.6.0_16\. To do this, click on the , open the , (if necessary, switch to ), open the applet, select the Advanced Tab, and click on the Environment Variables button. - Add the JDK's
bindirectory to the path PATH.To do this, open the from the , (if necessary, switch to ), then edit the PATH environment variable found in System -> Advanced -> Environment Variables -> System Variables. Append a semicolon and%JAVA_HOME%\binto the end of the PATH value. - So that Java can be run from the command line, add the
jre\bindirectory to the path so that it looks similar toC:\Program Files\Java\jdk1.5.0_11\jre\bin.