Decompile the class file

Source: Internet
Author: User

How to install the jadclips Plugin:
Method 1: Copy jadclipse_3.1.0.jar to the % eclipse_home %/Plugins directory.
Method 2: Install using link, such as in the C:/program files/myeclipse 6.5/plugins-link/directory,
Create three new folders: jadclipse3.1.0/Eclipse/plugins, and put the jar under plugins. Then in the directory
C:/program files/myeclipse 6.5/Eclipse/links file: jadclipse3.1.0.link,
Content: Path = C:/program files/myeclipse 6.5/plugins-link/jadclipse3.1.0, start eclipse,
Open Window-> preferences-> JAVA-> jadclipse. If jadclipse is not found, check whether the installed version of the plug-in corresponds to the installed eclipse version.

2) set it to the default open mode of the class file
Eclipse automatically sets jadclipse class file viewer to the default open mode of class files. If no default value exists, you can choose windows> perference-in eclipse-
> In general-> editors-> File Associations, change "*. Class" to "jadclipse class File Viewer" by default ". Double-click
*. Class file, which is automatically decompiled By eclipse.

3.when using jadclipse, you must add the jad.exeProgramIf only the plug-in does not have Jad, it still cannot be decompiled successfully, and the following error is displayed.
We also need to install Jad.

Jad decompilation Tool
Decompress the downloaded package and copy jad.exe to your % java_home %/bin directory. The advantage of this is that it is easy to use. Set it in eclipse and select "window "-

"Preference"-"Java"-"jadclipse", enter the absolute path of jad.exe in path to decompiler. This is done to ensure the decompilation effect.

Specify the path of the temporary file in directory for temporary files.
 

 

Record it to avoid any trouble in future.

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.