• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

21. Java > Decompilers

Decompilers

Since Java keeps method and class names in the bytecode to facilitate dynamic binding, you can decompile class files and see pretty much everything except local variable names. Here are a few ways to decompile class files:

  • javap -c will print out bytecode mnemonics, but not Java source. Comes with JDK.

  • Mocha will print out Java source. Available from http://patrick.net/software/.

  • SourceAgain will print out Java source.

There are some “obfuscator” tools that mangle the names in the bytecode, making the decompiled source harder to understand.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint