How to Disassemble Java
The Java compiler also has a disassembler command that lets you "decompile" a Java project file. The "javap" command runs in the Windows command line and lets you see the code created by the Java source code programmers. You use this command to reverse-engineer and review Java source code, so you can modify and add to an open source project.
Instructions
-
-
1
Click the Windows "Start" menu button and type "cmd" in the search text box. Press "Enter" to open the Windows command line.
-
2
Type "cd path" and press "Enter" -- where "path" is the location of the Java class file you want to disassemble.
-
-
3
Type "javap filename" and press "Enter" -- where "filename" is the Java source code file you want to disassemble. The disassembled code is displayed in the command prompt window.
-
1