O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required