JDK 1.3 installation instructions
Step by step instructions for downloading and installing the Java Development Kit from Sun's web site.
- Go to Sun's Java download page
- click on the Java 2 Standard Edition (J2SE) link under Product Groups
- click on the link for JavaTM 2 SDK, Standard Edition, v 1.3.1
- click on the link for your desired platform, such as Microsoft Windows
- scroll down and click on the button to download the Java SDK
- click on the Accept button on the next page to agree to licensing terms
- Click on one of the FTP buttons displayed on the next page to begin downloading an .exe file to your machine, and select Save to save the file to a location on your hard drive
- When this is finished, run the installer by double-clicking on the file you saved from within Windows Explorer. You should see the installation program start up.
- follow instructions for installation; you can accept the default directory names
Java is now installed! To test this, open up an MS-DOS command prompt and type
java -version
... and hit enter. If the installation worked, Java should respond with something that looks like this:
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
(You can open up a command window by picking Run from the Start menu, then entering the word "command" without the quotes in the dialog box, and clicking the OK button).
To test your installation, you can enter the Lincoln.java program from chapter 1 using the editor of your choice, such as notepad. Make sure the filename is Lincoln.java. After you have entered and saved the program, compile it with the following command from the MS-DOS command prompt:
javac Lincoln.java
It should compile and produce a bytecode file called Lincoln.class.