Disassembling a Java Class

In rare cases, JAD can't decompile a Java program for a variety of reasons. Some compilers perform optimizations that JAD doesn't understand. Some subtle obfuscators make changes to the code that make decompilation difficult. In these cases, you might need to resort to a Java disassembler. This is really for hard-core Java developers, because you end up with what is essentially an assembly language program.

Obviously, if you disassemble Java code, you must be able to reassemble it back into a Java class. You can't use a Java compiler, you need a Java assembler. One of the most popular Java assemblers is Jasmin, available from http://www.cat.nyu.edu/meyer/jasmin/. The Jasmin Web page also lists several disassemblers ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.