jadclipse + jadを使用してEclipseでクラスファイルを逆コンパイルします



Decompile Class Files Eclipse Using Jadclipse Jad




// Method 1: (recommended)
When we look at the jar source code, it is usually to install a jd-gui, copy the jar out, and then open the jar from jd-gui and then view the source code. This process is inevitably troublesome. Of course, the quick view method described in this article is nothing. High-tech means, just integrate jd-gui in Eclipse, and then you can open the class directly in Eclipse, which will not only facilitate the operation but also save a lot of time. The specific steps are as follows:

Download the plugin: jd-eclipse-site-1.0.0-RC2.zip

Open Eclipse-->Help-->Install New Software:
Name it in the Name box, then click the Archive button, select the downloaded plugin, then click OK:
As shown in the figure, the plugin is selected (because I have already installed it, so the displayed style is not the same), the checkbox below is not checked, directly next-->finish.
// http://blog.csdn.net/baiyuliang2013/article/details/46408731


// Method 2:
1. It is recommended to place the jad.exe file in the jdk/bin/ directory.
For example: D:Program FilesJavajdk1.7.0_40in

2. Place the net.sf.jadclipse_3.3.0.jar file in the eclipseplugins directory.

Restart eclipse

Common problems and solutions:

(A) Start eclipse, open Window->Preferences->Java->JadClipse, if you do not find JadClipse, the JadClipse plugin is not activated.

(1) Check if the version installed by the plugin corresponds to the version of eclipse you installed.

(2) Use the –clean parameter to start eclipse

3. Configure eclipse JadClipse
Window -> Java -> JadClipse
Path to decompiler: Configure the absolute path of jad.exe
Directory for temporary files: configure the file directory generated after jad decompile

E.g:
Path to decompiler:
D:Program FilesJavajdk1.7.0_40injad.exe

Directory for temporary files:
D:Program Fileseclipse et.sf.jadclipse


4. View configuration eclipse Editors
Window -> General -> Editors -> File Associations
Set the default opening mode of *.class files
JadClipse Class File Viewer (default)
Set *.class without source
JadClipse Class File Viewer (default)
//
/ / Reference: http://www.cnblogs.com/xxyfhjl/p/5836060.html