Tool Setup Instructions

Java 2 Platform, Standard Edition JDK, Version 5.0

If the course you are setting up requires JDK 5.0, follow these instructions to set it up on the student and instructor machines. If you have questions, please contact your courseware vendor.

The JDK is a free download from Oracle. Navigate to:


Under the heading "Java SE Development Kit 5.0uNN", accept the license agreement and choose the appropriate bundle for your operating system and hardware. (Note that the JRE is not sufficient — you need the full developer's kit.)

Run the installer and follow its instructions — perform a complete install of the JDK. The installer will first allow you to choose the JDK path: set this to c:\Java5.0.

Later during the install, you'll be able to select the install path for the public Java runtime. Leave this at its default value; do not set it to c:\Java5.0, or you will overwrite the JDK itself!

After the installation is complete, set an environment variable JAVA_HOME to c:\Java5.0.

Add c:\Java5.0\bin to the beginning of the executable path, so that tools in that directory can be run from any working directory.

(If system permissions make it impossible to add this directory to the beginning of the path, it's usually okay to add it to the end. There is some risk that another Java version will be in the path prior to the one you just installed, but on clean machine setups this is unlikely.)

Test the environment by opening a command console in some directory other than JAVA_HOME, and entering the following command — you should get the response shown:

javac -version

javac 1.5.0