javap

Disassemble one or more class files and list them. More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/javap.html>.

Install

All systems
curl cmd.cat/javap.sh
Debian Debian
apt-get install openjdk-12-jdk-headless
Ubuntu
apt-get install openjdk-12-jdk-headless
Arch Arch Linux
pacman -S java-environment-common
image/svg+xml Kali Linux
apt-get install openjdk-11-jdk-headless
Fedora
dnf install java-9-openjdk-devel-debug-1
Windows (WSL2)
sudo apt-get update sudo apt-get install openjdk-12-jdk-headless
Raspbian
apt-get install openjdk-8-jdk

Disassemble one or more class files and list them. More information: <https://docs.oracle.com/en/java/javase/20/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

© tl;dr; authors and contributors