Java Tutorials - Herong's Tutorial Notes
Dr. Herong Yang, Version 6.00

Downling and Installing JDK 1.5

This section describes how to download and install Java SE (JDK) 1.5.0 on a Windows XP system. Notes were taken in 2005.

1. Go to

2. Click the download button in "JDK 5.0 Update 9" section.

3. Go to the "Windows Platform - J2SE(TM) Development Kit 5.0 Update 9" section, and click "Windows Offline Installation, Multi-language" to download jdk-1_5_0_09-windows-i586-p.exe to a working directory on your hard disk. This file is about 50 MB.

4. Double click on the downloaded file: jdk-1_5_0_09-windows-i586-p.exe in the working directory in the File Explorer.

5. Follow the instruction on the installation window to finish the installation.

6. Open a command window to try the java command. If you are getting the following output, your installation is ok:

>cd \Program Files\Java\jdk1.5.0_09\bin
>java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)

Table of Contents

 About This Book

 Installing JDK 1.4 on Windows 2000

Installing JDK 1.5 on Windows XP

Downling and Installing JDK 1.5

 Writing My First Java Program

 Installing JDK 1.6 on Windows XP

 Execution Process, Entry Point, Input and Output

 Bits, Bytes, Bitwise and Shift Operations

 Managing Bit Strings in Byte Arrays

 StringBuffer - The String Buffer Class

 System Properties and Runtime Object Methods

 Execution Threads and Multi-Threading Java Programs

 ThreadGroup Class and "system" ThreadGroup Tree

 Synchronization Technique and Synchronized Code Blocks

 Deadlock Condition Example Programs

 Garbage Collection and the gc() Method


 PDF Printing Version

Dr. Herong Yang, updated in 2008
Downling and Installing JDK 1.5