Java Tools Included in JDK

This chapter provides tutorial notes on Java tools included in the Oracle JDK package. Topics include downloading and installing the latest JDK version on Windows; using 'javac' and 'java' tools to compile and run Java program; listing Java tools in the 'bin' sub-directory of Java home directory.

Installing Latest JDK on macOS

Installing Latest JDK on Windows

Adding JDK "bin" Direcotry to Path Setting

Testing JDK Installation

Listing Java Tools in JDK

Takeaways:

Table of Contents

 About This Book

 Java Tools Terminology

Java Tools Included in JDK

 javac - The Java Program Compiler

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

 jimage - The JIMAGE File Tool

 jpackage - Binary Package Builder

 java - The Java Program Launcher

 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

 serialver - serialVersionUID Generator

 native2ascii - Native-to-ASCII Encoding Converter

 Outdated Tutorials

 References

 Full Version in PDF/EPUB