Appendix D.  Installing the Sun JDK on Microsoft Windows

Procedure D.1.  Installing and Configuring the 32-bit Sun JDK on Microsoft Windows

  1. Download the Software

    Download the Sun Java 2 Development Kit from
  2. Create an environmental variable called JAVA_HOME that points to directory in which the JDK will be installed, such as C:\Program Files\Java\jdk1.6.0_16\. To do this, click on the Start Menu, open the Control Panel, (if necessary, switch to Classic View), open the System Control Panel applet, select the Advanced Tab, and click on the Environment Variables button.
  3. Add the JDK's bin directory to the path PATH.
    To do this, open the Control Panel from the Start Menu, (if necessary, switch to Classic View), then edit the PATH environment variable found in System -> Advanced -> Environment Variables -> System Variables. Append a semicolon and %JAVA_HOME%\bin to the end of the PATH value.
  4. So that Java can be run from the command line, add the jre\bin directory to the path so that it looks similar to C:\Program Files\Java\jdk1.5.0_11\jre\bin.