Tool Setup Instructions

Java 2 Platform, Standard Edition SDK, Version 1.4.2

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

The J2SE 1.4.2 SDK is a free download from Sun Microsystems. Navigate to:


Under the heading "J2SE v 1.4.2_19 SDK" find the link Download J2SE SDK. (Note that the JRE is not sufficient - you need the full SDK.) You'll be presented with a license agreement: read this and accept the terms. Then you'll be given options that allow you to download the installer - put this file on the local machine (or on a shared drive for all student machines) anywhere you like.

Run the installer and follow its instructions - perform a complete install of the SDK. You can install to any path on the student machine you choose - we suggest c:\Java1.4.2 as a nice short name to keep environment variables and paths simple. Be sure to note the location for later steps, even if you leave the default path.

After the installation is complete, set an environment variable JAVA_HOME to the install location.

Add the bin directory under JAVA_HOME to the path, so that tools in that directory can be run from any working directory.

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:

java -version

java version "1.4.2_19"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Java HotSpot(TM) Client VM (build 1.4.2, mixed mode)

Finally, in all cases we strongly recommend downloading and installing the API documentation for the SDK as well. This can be found at the same starting page as the SDK itself, in a lower table with the heading "J2SE v 1.4.2 Documentation". Click the download link, accept terms, and download the archive. Unpack the archive to JAVA_HOME; this will create a large tree of HTML documents under the new docs subdirectory.