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

Downling and Installing JDK 1.4

This section describes how to download and install Java SE (JDK) 1.4.1 on a Windows 2000 system. Notes were taken in 2002.

1. Go to http://java.sun.com/j2se/1.4.1/download.html

2. Click the download button in the SDK column and next to "Windows (all languages, including English)" in the "Download J2SE(TM) v 1.4.1" section.

3. Follow the instructions on the Web pages to download j2sdk-1_4_1_01-windows-i586.exe to a working directory on your hard disk. This file is about 35 MB.

4. Double click on the file name: j2sdk-1_4_1_01-windows-i586.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:

>c:\j2sdk1.4.1_01\bin\java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

Table of Contents

 About This Book

Installing JDK 1.4 on Windows 2000

Downling and Installing JDK 1.4

 Writing My First Java Program

 Installing JDK 1.5 on Windows XP

 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

 References

 PDF Printing Version

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