Archived: Installing JDK 12 on Windows

This section provides a tutorial example on how to download and install JDK 12, which includes some nice Java tools, on a Windows system.

As a Java developer kit, the Oracle JDK package includes a number of nice Java tools.

Here is what I did to download and install JDK 12, also called Java SE 12, on my Windows computer.

To test the installation, open a command window and run the "java -version" command. I got the following output:

herong> \Progra~1\Java\jdk-12.0.1\bin\java -version

java version "12.0.1" 2019-04-16
Java(TM) SE Runtime Environment (build 12.0.1+12)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)

Cool, I have successfully installed JDK 12 on my Windows computer!

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 java - The Java Program Launcher

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

 jimage - The JIMAGE File Tool

 jpackage - Binary Package Builder

 javadoc - The Java Document Generator

 jdeps - The Java Class Dependency Analyzer

 jdeprscan - The Java Deprecated API Scanner

 jdb - The Java Debugger

 jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jhsdb - The Java HotSpot Debugger

 jvisualvm (Java VisualVM) - JVM Visual Tool

 jmc - Java Mission Control

 javap - The Java Class File Disassembler

 keytool - Public Key Certificate Tool

 jarsigner - JAR File Signer

 jshell - Java Language Shell

 jrunscript - Script Code Shell

 Miscellaneous Tools

 native2ascii - Native-to-ASCII Encoding Converter

 JAB (Java Access Bridge) for Windows

Archived Tutorials

 Installing JDK 15 on macOS

Archived: Installing JDK 12 on Windows

 Archived: Installing JDK 10 on Windows

 Archived: Downloading and Installing Java 8

 Archived: Downloading and Installing J2SE 1.6.0 on Windows

 Archived: JDK 1.6 keytool - keystore File Tool

 Archived: Downloading and Installing J2SE 1.5.0 on Windows

 Archived: JDK 1.5 keytool - keystore File Tool


 Full Version in PDF/EPUB