Downloading and Installing Java 8 on Windows

This section describes how to download and install Java 8 (Java Standard Edition Development Kit 1.8) on Windows.

To learn Java tools, you have to get a copy of JDK (Java Development Kit) installed on your machine. The latest version of JDK is JDK 1.8 (Java SE Development Kit 1.8), which is also called Java SE 8 (Java Standard Edition 8). Here is what I did to download and install JDK 1.8 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 is ok:

C:\herong>\progra~1\java\jdk1.8.0\bin\java -version
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: 2015.

Table of Contents

 About This Book

 Java Tools Terminology

Installing Java 8 on Windows

Downloading and Installing Java 8 on Windows

 Testing Java 8 Installation

 'javac' - The Java Program Compiler

 'java' - The Java Program Launcher

 'jdb' - The Java Debugger

 'jconsole' - Java Monitoring and Management Console

 'jstat' - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jvisualvm (Java VisualVM) - JVM Visual Tool

 'jar' - The JAR File Tool

 'javap' - The Java Class File Disassembler

 'keytool' - Public Key Certificate Tool

 'native2ascii' - Native-to-ASCII Encoding Converter

 Outdated Tutorials


 PDF Printing Version