Combination of decompilation plug-ins jadclipseand jad.exe

Source: Internet
Author: User

1. download the latest jadfile from http://java.decompiler.free.fr/. Currently, I download jadnt158.zip.

2. Slave.

3. Start or restart eclipse and modify
Path to decompiler such as: D:/Eric/jadnt158/jad.exe(directory after jadnt158.zip extraction)

4. For Windows-> perference-> General-> editors-> File Associations, change "*. Class" to "jadclipse class File Viewer" by default"

After that, press CTRL in the Java class and click the class to see the source code after its Jad decompilation.

Reprinted from http://www.javaeye.com/topic/224165

--------------------------------------------------------

_______________________________________________________________________________________________

Jad decompilation plug-in
Jadclips plug-in Website:

Http://jadclipse.sourceforge.net/

1. Download:
Download plug-ins:
Download jadclipse_3.1.0.jar, which supports eclipse3.1M6 and later versions.
Download jadclipse_3.2.0.jar, which supports eclipse3.2M3 and eclipse3.2M4.
Download jadclipse_3.2.2.jar, which supports eclipse3.2M5 and later versions.

Download the Jad decompilation tool:
Http://www.kpdus.com/jad.html # download, find the jad download that fits your operating system platform on this page. After the download is decompressed, copy the unzipped jad.exe file to the % JAVA_HOME %/bindirectory directory (where can I put jad.exe? Just remember the path and use it below ).

Ii. installation:
Method 1: Copy jadclipse_3.1.0.jar to the % ECLIPSE_HOME %/plugins directory.

Method 2: Install jadclipse_3.1.0.jar in the directory of E:/eclipse3.1plugins/jadclipse3.1.0/eclipse/plugins by using link (Note: E: /eclipse3.1plugins is a directory dedicated to plug-ins defined for you ). Create a jadclipse3.1.0.link file under the % ECLIPSE_HOME %/links directory (the file name can be obtained randomly and the suffix must be. Link ). File Content: path = E: // eclipse3.1plugins // jadclipse3.1.0. start eclipse and open Window-> Preferences-> Java-> JadClipse. If JadClipse is not found, check whether the version installed by the plug-in corresponds to the eclipse version you installed.
The eclipse I installed is eclipse3.1.2.

3. Set parameters:
Start eclipse and open Window> Preferences> Java> JadClipse.
1. Path to decompiler. Set the full Path name of The Decompilation tool jad, for example, % JAVA_HOME %/bin/jad.exe.
2. Directory for temporary files. Set the temporary file path here.

As for the parameter settings in the Debug, direves ves, Formatting, and Misc directories in the Window-> Preferences-> Java-> JadClipse directory, we will not bother.

4. After the installation is complete, eclipse automatically sets JadClipse Class File Viewer to the default open mode of the class File. If no default value exists, modify "*. the Default Editor associated with class is JadClipse Class File Viewer ". After setting, double-click the *. class file and eclipse will automatically decompile the file.

Note: For classes with source code, it will not forcibly decompile, that is, it will still use the Class File Viewer that comes with eclipse to view the class File.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.