Outdated: Downloading and Installing JDK 1.5

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

1. Go to http://java.sun.com/javase/downloads/index.jsp

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)

Last update: 2015.

Table of Contents

 About This Book

 JDK - Java Development Kit

 Execution Process, Entry Point, Input and Output

 Primitive Data Types and Literals

 Bits, Bytes, Bitwise and Shift Operations

 Managing Bit Strings in Byte Arrays

 Reference Data Types and Variables

 StringBuffer - The String Buffer Class

 System Properties and Runtime Object Methods

 Generic Classes and Parameterized Types

 Generic Methods and Type Inference

 Lambda Expressions and Method References

 Java Modules - Java Package Aggregation

 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

Outdated Tutorials

 Outdated: Downloading and Installing JDK 8

 Outdated: Downloading and Installing JDK 1.7

 Outdated: Downloading and Installing JDK 1.6

Outdated: Downloading and Installing JDK 1.5

 Outdated: JDK 1.3 Bug - Memory Leak With Unstarted Threads


 Full Version in PDF/EPUB