Java Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 6.20

Downloading and Installing JDK 1.7

This section describes how to download and install Java SE 7 Update 7 (JDK 7u7) on a Windows system.

To learn Java, you need to have a copy of JDK (Java Development Kit) installed on your machine. The latest version of JDK is JDK 7u7, which is also called Java SE (Standard Edition) 7 Update 7. Here is what I did to download and install JDK 7u7 on my Windows machine.

  • Open the Java download home page with this URL: http://www.oracle.com/technetwork/java/javase/downloads/.
  • Click the download button next to "Java SE 7u7 - JDK". You will see a new page with a list of different download files of JDK 7u7.
  • Locate the "Java SE Development Kit 7u7" section and click the "Accept License Agreement" radio button.
  • Click on the hyper link of "jdk-7u7-windows-i586.exe" in the "Windows x86 - 88.36 MB" line.
  • Save the download file jdk-7u7-windows-i586.exe to a temporary directory. It may take up to 10 minutes to finish the download.
  • Double-click on the downloaded file jdk-7u7-windows-i586.exe in the temporary directory to start the installation wizard.
  • Follow the installation wizard flow by clicking the "Next" button on each screen. There is no need to change any installation settings.
  • Click the "Close" button on the last screen when the installation is down.

The picture below shows you how the JDK 7 Installation Screen looks like:
JDK 7 Installation Screen

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:\herong>\progra~1\java\jdk1.7.0_07\bin\java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)

Last update: 2012.

Table of Contents

 About This Book

Installing JDK 1.7 on Windows

Downloading and Installing JDK 1.7

 Writing My First Java Program

 JDK Documentation Installation

 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

 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

 References

 PDF Printing Version

Dr. Herong Yang, updated in 2012
Downloading and Installing JDK 1.7