Java Tools Tutorials - Herong's Tutorial Examples - v6.23, by Herong Yang
Installing Latest JDK on Windows
This section provides a tutorial example on how to download and install the latest version JDK, 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 17, also called Java SE 17, on my Windows computer.
To test the installation, open a command window to try the java command. If you are getting the following output, your installation is good:
herong> \progra~1\java\jdk-17.0.1\bin\java -version java version "17.0.1" 2021-10-19 LTS Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39) Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
Cool, I have successfully installed JDK 17 on my Windows computer!
Table of Contents
Installing Latest JDK on macOS
►Installing Latest JDK on Windows
Adding JDK "bin" Direcotry to Path Setting
javac - The Java Program Compiler
java - The Java Program Launcher
jpackage - Binary Package Builder
javadoc - The Java Document Generator
jdeps - The Java Class Dependency Analyzer
jdeprscan - The Java Deprecated API Scanner
jcmd - The JVM Diagnostic Tool
jconsole - Java Monitoring and Management Console
jstat - JVM Statistics Monitoring Tool
jhsdb - The Java HotSpot Debugger
jvisualvm (Java VisualVM) - JVM Visual Tool
javap - The Java Class File Disassembler
keytool - Public Key Certificate Tool
jrunscript - Script Code Shell
native2ascii - Native-to-ASCII Encoding Converter