java:javadecompiler
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
java:javadecompiler [2015/01/07 06:53] – [change output file extension] admin | java:javadecompiler [2015/11/06 07:21] (current) – removed admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Java Decompiler ====== | ||
- | Some tools: | ||
- | ===== java decompiler for eclipse ===== | ||
- | ==== download and install ==== | ||
- | * refer: http:// | ||
- | * install: http:// | ||
- | ==== config and using ==== | ||
- | There is one more important step pending: | ||
- | - Step1: In your eclipse application go to **Windows > Preferences** | ||
- | - Step2: **General > Editors > File Associations** | ||
- | - Step3: Click **Add for Associated Editors** | ||
- | * Select *.class and add Class File Editor and make it default. | ||
- | * Select *.class without source and add Class File Editor and make it default. | ||
- | Now you can open your code and you should be able to decompile any of your jar files by either Ctrl + Clicking on the code base or via your Package Explorer. | ||
- | ===== DJ Decompiler and jad tool ===== | ||
- | DJ Decompiler using jad tool for decompiling class of java | ||
- | ==== Decompiler with DJ Decompiler(GUI) ==== | ||
- | ==== Decompiler with jad tool ==== | ||
- | Before run jad tool, we add path **d: | ||
- | === decompiler single .class file === | ||
- | <code bash> | ||
- | jad abc.class | ||
- | </ | ||
- | === decompiler all .class files === | ||
- | <code bash> | ||
- | jad *.class | ||
- | </ | ||
- | === change output file extension === | ||
- | <code bash> | ||
- | jad -sjava * | ||
- | </ | ||
- | === change output directory source === | ||
- | <code bash> | ||
- | jad -o -dtest -sjava *.class | ||
- | </ | ||
- | === decompile the whole tree of JAVA classes === | ||
- | <code bash> | ||
- | </ |
java/javadecompiler.1420613592.txt.gz · Last modified: 2022/10/29 16:15 (external edit)