OS Manuals

/usr/lib/jvm/java-1.9-openjdk/bin/javap

Oracle OpenJDK 9

From openjdk-9 9.0.4-r8 (os), captured 2026-11-05 by running javap --help (exit 0). permalink

Usage: javap <options> <classes>
where possible options include:
  -help  --help  -?                Print this usage 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
  --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 (19)
OptionDescriptionSource
-help--help -? Print this usage messagehelp
-versionVersion informationhelp
-v-verbose Print additional informationhelp
-lPrint line number and local variable tableshelp
-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, MD5 hash) of class being processedhelp
-constantsShow final constantshelp
--module, -m moduleSpecify module containing classes to be disassembledhelp
--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

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