We take pride in your success. We let our positivity drive us, day in and out. Talk to us at Mindfire to know us more.

Software Technology Tips

This tip demonstrates, step by step, how to reverse engineer a Java class file using a free decompiler program called JAD.

  1. The first step would obviously involved downloading a decompiler, which in our case is JAD. http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/JAD.shtml 

  2. Unpack the zip folder in a particular drive folder.

  3. After unzip a "jad" folder will get created.  Here you will find one .exe and one .txt file
    1. jad.exe
    2. readme.txt
    4. Copy any class file inside that "jad" directory for testing purpose, ex. MyClass.class.


    5. Open command prompt and move inside the "jad" directory.
 
    6. Run the below command
   
          Example:
   
          D:\jad\> jad MyClass.class
 
    7. A new file named as MyClass.jad will get created in that directory.
 
    8. Rename the MyClass.jad file to MyClass.java.
 
    9. Open it, and enjoy the decompiled code.


Related Tags:

Java

Author: Rupal Chatterjee

top

Java

Let us Connect!

privacy

copyright (c) Mindfire Solutions 2007-2012. Login