Saturday, 21 January 2012

How To Decompile the .class file of Java

I was wondering if is possible to decompile Class file of java to source code.Thanks to the freeware JD which made it possible.Before going to detail's let see what is decompilation.

De-compiler means a software program which convert a low level(binary coded program) into the human readable code(programming language),And De-compilation means process of converting  machine readable code to human readable code.Its nothing of reverse of compilation.

Where do i get the java decompiler.

  • The java decompiler is available for jar and .class file which converts into the java source code.
  • Its available at http://jd.benow.ca/
  • Available for all the platforms Linux,Windows and Mac.
  • And its all free,thanks to JD community.
  • also online decompiler available at http://java.decompiler.free.fr/?q=preview

2 comments:

  1. There is another java decompiler. AndroChef successfully decompiles obfuscated Java 6 and Java 7 .class and .jar files.
    http://www.neshkov.com/ac_decompiler.html

    ReplyDelete




  2. Hi, thank you very much for help. I am going to test that in the near future. Cheers



    Java Course in Chennai

    ReplyDelete