User Tools

Site Tools


java:javadecompiler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
java:javadecompiler [2015/01/07 06:50] – [change output file extension] adminjava: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://jd.benow.ca/ +
-  * install: http://jd.benow.ca/jd-eclipse/update +
-==== 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:\tools\decomp**(path of DJ Decompiler) to environment variable **PATH** in windows +
-=== decompiler single .class file === +
-<code bash> +
-jad abc.class +
-</code> => generate abc.jad +
-=== decompiler all .class files === +
-<code bash> +
-jad *.class +
-</code> => generate all .class to jad file +
-=== change output file extension === +
-<code bash> +
-jad -sjava * +
-</code> +
-=== decompile the whole tree of JAVA classes === +
-<code bash> +
-</code>+
java/javadecompiler.1420613421.txt.gz · Last modified: 2022/10/29 16:15 (external edit)