tldr/pages/common/javap.md

21 lines
403 B
Markdown
Raw Normal View History

2022-10-21 14:59:18 +01:00
# javap
> Disassemble class files and list them.
2023-06-04 02:48:54 +01:00
> More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/javap.html>.
2022-10-21 14:59:18 +01:00
- Disassemble and list one or more `.class` files:
2022-10-21 14:59:18 +01:00
`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`