2022-10-21 14:59:18 +01:00
|
|
|
# javap
|
|
|
|
|
|
|
|
> Disassemble one or more class files and list them.
|
2022-10-30 22:40:02 +00:00
|
|
|
> More information: <https://docs.oracle.com/en/java/javase/19/docs/specs/man/javap.html>.
|
2022-10-21 14:59:18 +01:00
|
|
|
|
|
|
|
- Disassemble and list a `.class` file:
|
|
|
|
|
|
|
|
`javap {{path/to/file.class}}`
|
|
|
|
|
|
|
|
- Disassemble and list multiple `.class` files:
|
|
|
|
|
|
|
|
`javap {{path/to/file1.class path/to/file2.class ...}}`
|
|
|
|
|
|
|
|
- Disassemble and list a built-in class file:
|
|
|
|
|
|
|
|
`javap java.{{package}}.{{class}}`
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`javap -help`
|
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
|
|
`javap -version`
|