Archived: Downloading and Installing JDK 1.6

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

To learn Java, you need to have a copy of JDK (Java Development Kit) installed on your machine. The current version of JDK is JDK 6u2 (Java(TM) SE Development Kit 6 Update 2), which is also called Java SE 6 (Java Standard Edition 6). Here is what I did to download and install JDK 6u2 on my local machine.

To test the installation, open a command window to try the java command. If you are getting the following output, your installation was ok:

C:\>\progra~1\java\jdk1.6.0_02\bin\java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode,
sharing)

Table of Contents

 About This Book

 JDK - Java Development Kit

 Execution Process, Entry Point, Input and Output

 Primitive Data Types and Literals

 Control Flow Statements

 Bits, Bytes, Bitwise and Shift Operations

 Managing Bit Strings in Byte Arrays

 Reference Data Types and Variables

 Enum Types and Enum Constants

 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

 Assert Statements and -ea" Option

 Annotation Statements and Declarations

 Java Related Terminologies

Archived Tutorials

 Archived: Downloading and Installing JDK 13 on Mac

 Archived: Downloading and Installing JDK 10

 Archived: JDK 10 Documentation Installation

 Archived: Downloading and Installing JDK 8

 Archived: Downloading and Installing JDK 1.7

Archived: Downloading and Installing JDK 1.6

 Archived: Downloading and Installing JDK 1.5

 Archived: JDK 1.3 Bug - Memory Leak With Unstarted Threads

 References

 Full Version in PDF/EPUB