"java --list-modules" - Listing Modules in JDK

This section provides a tutorial example on how to use 'java --list-modules' command to list all modules included in the JDK installation.

Java packages included in JDK are organized into Java modules. You can use the 'java --list-modules' command to list all modules in the you JDK installation:

herong> java --list-modules

java.base@12.0.1
java.compiler@12.0.1
java.datatransfer@12.0.1
java.desktop@12.0.1
java.instrument@12.0.1
java.logging@12.0.1
java.management@12.0.1
java.management.rmi@12.0.1
java.naming@12.0.1
java.net.http@12.0.1
java.prefs@12.0.1
java.rmi@12.0.1
java.scripting@12.0.1
java.se@12.0.1
java.security.jgss@12.0.1
java.security.sasl@12.0.1
java.smartcardio@12.0.1
java.sql@12.0.1
java.sql.rowset@12.0.1
java.transaction.xa@12.0.1
java.xml@12.0.1
java.xml.crypto@12.0.1
jdk.accessibility@12.0.1
jdk.aot@12.0.1
jdk.attach@12.0.1
jdk.charsets@12.0.1
jdk.compiler@12.0.1
jdk.crypto.cryptoki@12.0.1
jdk.crypto.ec@12.0.1
jdk.crypto.mscapi@12.0.1
jdk.dynalink@12.0.1
jdk.editpad@12.0.1
jdk.hotspot.agent@12.0.1
jdk.httpserver@12.0.1
jdk.internal.ed@12.0.1
jdk.internal.jvmstat@12.0.1
jdk.internal.le@12.0.1
jdk.internal.opt@12.0.1
jdk.internal.vm.ci@12.0.1
jdk.internal.vm.compiler@12.0.1
jdk.internal.vm.compiler.management@12.0.1
jdk.jartool@12.0.1
jdk.javadoc@12.0.1
jdk.jcmd@12.0.1
jdk.jconsole@12.0.1
jdk.jdeps@12.0.1
jdk.jdi@12.0.1
jdk.jdwp.agent@12.0.1
jdk.jfr@12.0.1
jdk.jlink@12.0.1
jdk.jshell@12.0.1
jdk.jsobject@12.0.1
jdk.jstatd@12.0.1
jdk.localedata@12.0.1
jdk.management@12.0.1
jdk.management.agent@12.0.1
jdk.management.jfr@12.0.1
jdk.naming.dns@12.0.1
jdk.naming.rmi@12.0.1
jdk.net@12.0.1
jdk.pack@12.0.1
jdk.rmic@12.0.1
jdk.scripting.nashorn@12.0.1
jdk.scripting.nashorn.shell@12.0.1
jdk.sctp@12.0.1
jdk.security.auth@12.0.1
jdk.security.jgss@12.0.1
jdk.unsupported@12.0.1
jdk.unsupported.desktop@12.0.1
jdk.xml.dom@12.0.1
jdk.zipfs@12.0.1

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

 java - Program Launching Command and Options

 Launching Hello.java - My First Java Program

 "java -classpath" - Specifying Class Path

 "java -jar" - Specifying Executable JAR File

 "java -X" - Specifying Non-Standard Options

"java --list-modules" - Listing Modules in JDK

 "java --describe-module" - Printing Module Definition

 "java --module" - Launching Program from Module

 "java --module" - Launching Program from Module JAR

 javaw - Launching Java Programs without Console

 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