Downloading and Installing JDK 8
This section describes how to download and install Java SE 8 (JDK 7) 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 8, which is also called Java SE (Standard Edition) 8
Here is what I did to download and install JDK 8 on my Windows machine.
- Open the Java SE Download page with this URL: http://www.oracle.com/technetwork/java/javase/downloads/.
- Click the download button next to "Java Platform (JDK) 8".
You will see a new page with a list of different download files of JDK 8.
- Locate the "Java SE Development Kit 8" section.
- Click the hyper link of "jdk-8-windows-i586.exe", next to "Windows x86 - 151.68 MB".
- Save jdk-8-windows-i586.exe to a temporary directory.
- Double-click on jdk-8-windows-i586.exe to start the installation wizard.
- The installation wizard will guide you to finish the installation.
The picture below shows you how the JDK 8 Installation Screen looks like:
To test the installation, open a command window to try the java command.
If you are getting the following output, your installation was ok:
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode, sharing)
Last update: 2014.
Table of Contents
About This Book
►Installing JDK 1.8 on Windows
►Downloading and Installing JDK 8
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
Lambda Expressions and Method References
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