mirror of https://github.com/CrimsonTome/tldr.git
25 lines
485 B
Markdown
25 lines
485 B
Markdown
|
# javap
|
||
|
|
||
|
> Disassemble one or more class files and list them.
|
||
|
> More information: <https://docs.oracle.com/en/java/javase/18/docs/specs/man/javap.html>.
|
||
|
|
||
|
- 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`
|