OS Manuals

/usr/lib/jvm/java-26-adoptium/bin/javap

Adoptium OpenJDK 26

From adoptium-openjdk-26 26.0.2.10-r3 (enterprise-packages), captured 2026-11-08 by running javap --help (exit 0). permalink

Usage: javap <options> <classes>
where possible options include:
  --help -help -h -?               Print this help message
  -version                         Version information
  -v  -verbose                     Print additional information
  -l                               Print line number and local variable tables, works in combination with -c
  -public                          Show only public classes and members
  -protected                       Show protected/public classes and members
  -package                         Show package/protected/public classes
                                   and members (default)
  -p  -private                     Show all classes and members
  -c                               Disassemble the code
  -s                               Print internal type signatures
  -sysinfo                         Show system info (path, size, date, SHA-256 hash)
                                   of class being processed
  -verify                          Print additional class verification info
  -constants                       Show final constants
  --module <module>  -m <module>   Specify module containing classes to be disassembled
  -J<vm-option>                    Specify a VM option
  --module-path <path>             Specify where to find application modules
  --system <jdk>                   Specify where to find system modules
  --class-path <path>              Specify where to find user class files
  -classpath <path>                Specify where to find user class files
  -cp <path>                       Specify where to find user class files
  -bootclasspath <path>            Override location of bootstrap class files
  --multi-release <version>        Specify the version to use in multi-release JAR files

GNU-style options may use = instead of whitespace to separate the name of an option
from its value.

Each class to be shown may be specified by a filename, a URL, or by its fully
qualified class name. Examples:
   path/to/MyClass.class
   jar:file:///path/to/MyJar.jar!/mypkg/MyClass.class
   java.lang.Object
Options (22)
OptionDescriptionSource
--help -helpPrint this help messagehelp
-versionVersion informationhelp
-v-verbose Print additional informationhelp
-lPrint line number and local variable tables, works in combination with -chelp
-publicShow only public classes and membershelp
-protectedShow protected/public classes and membershelp
-packageShow package/protected/public classes and members (default)help
-p-private Show all classes and membershelp
-cDisassemble the codehelp
-sPrint internal type signatureshelp
-sysinfoShow system info (path, size, date, SHA-256 hash) of class being processedhelp
-verifyPrint additional class verification infohelp
-constantsShow final constantshelp
--module module-m <module> Specify module containing classes to be disassembledhelp
-J vm-optionSpecify a VM optionhelp
--module-path pathSpecify where to find application moduleshelp
--system jdkSpecify where to find system moduleshelp
--class-path pathSpecify where to find user class fileshelp
-classpath pathSpecify where to find user class fileshelp
-cp pathSpecify where to find user class fileshelp
-bootclasspath pathOverride location of bootstrap class fileshelp
--multi-release versionSpecify the version to use in multi-release JAR fileshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.