mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 12:42:31 +00:00
26 lines
496 B
Plaintext
26 lines
496 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# javap
|
|
|
|
> Disassemble class files and list them.
|
|
> More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/javap.html>.
|
|
|
|
- Disassemble and list one or more `.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`
|