Eager to Code, Enjoy to Debug ~ Embark into Each Stage with Your Heart

Decompile a Java Class File

Posted by: Chyne on: February 21, 2008

If you want to convert a class file into a readable source code, you can try to use the Jad (JAva Decompiler). It is free for download and easy to use. You can refer to this url for further information about jad: http://www.kpdus.com/jad.html

Here are the steps to decompile a class file using Jad:-

1. Access to the directory where jadnt (jad) has been installed. (Please ensure that the jad.exe is inside the folder)
2. Copy the single .class file into the directory.
3. Open Windows command prompt.
4. Type the location of the directory in the command prompt. (e.g. C:/jadnt158)
5. Type jad .class
6. In the directory, open the file with the .jad using vi editor or Notepad

Leave a Reply

Friday’s Java Snack


In Java, "thread" means:

  • An instance of class java.lang.Thread
  • A thread of execution


An instance of Thread is just an object that has variables and methods, and lives and dies on the heap.
 
A thread of execution is an individual process that has its own call stack (one thread per call stack).

 

February 2008
M T W T F S S
« Jan   Mar »
 123
45678910
11121314151617
18192021222324
2526272829  

Archives


StatCounter

free hit counters