OS Manuals

/usr/lib/jvm/java-11-zulu/bin/javap

Zulu 11 Java development kit (CPU stream)

From zulu-11-cpu 11.0.31.0.101-r2 (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
  -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, MD5 hash)
                                   of class being processed
  -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

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 (23)
OptionDescriptionSource
--help -helpPrint this help messagehelp
-versionPrints release information.help + man
-v-verbose Print additional informationhelp
-lPrint line number and local variable tableshelp + man
-publicShows only public classes and members.help + man
-protectedShows only protected and public classes and members.help + man
-packageShow package/protected/public classes and members (default)help
-p-private Show all classes and membershelp
-cPrints disassembled code, for example, the instructions that comprise the Java bytecodes, for each of the methods in the class.help + man
-sPrints internal type signatures.help + man
-sysinfoShows system information (path, size, date, MD5 hash) of the class being processed.help + man
-constantsShows static final constants.help + man
--module, -m moduleSpecify 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 pathSpecifies the path the javap command uses to look up classes.help + man
-cp pathSpecify where to find user class fileshelp
-bootclasspath pathSpecifies the path from which to load bootstrap classes.help + man
-JoptionPasses the specified option to the JVM. (in the manual page but not in --help)man
-verbosePrints stack size, number of locals and arguments for methods. (in the manual page but not in --help)man
-extdir dirsOverrides the location at which installed extensions are searched for. (in the manual page but not in --help)man
Examples (3) from the manual page, untested

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