User Tools

Site Tools


java:javap

This is an old revision of the document!


JDK's javap tool

What is it

“javap” is a tool in the Java Development Kit (JDK) that displays details about the internal structure of Java classes.
It allows us to inspect compiled Java code to better understand how Java works at the bytecode level.

“javap” displays information such as:

  • The names and types of methods in the class.
  • The method signature, which includes the method name, parameter data types, and return type.
  • The byte code of the method, which represents the bytecode instructions used by the JVM.
  • The fields of the class, including their names and types.
java/javap.1681300094.txt.gz · Last modified: 2023/07/04 19:36 (external edit)