How to configure the Anti-compilation tool in Eclipse Jadclipse

Source: Internet
Author: User

Q: Why is it necessary to configure the Anti-compilation tool in the development environment?

A: When a third-party Jar project is referenced, an exception is suddenly reported on a row of a class in the jar package. when we want to look at the code for this class file, there are often scenarios like the one shown:

God, my heart is broken.

To find the source code? Yes, but it's a waste of time (except for MAVEN projects, the introduction of a dependency jar in Pom.xml will even download the same-origin file).

So, you can view the contents of a class file at any time by configuring the Anti-compilation tool in Eclipse.

The following take Jadclipse as an example, tell about the configuration process, such as have ideas, not hesitate to enlighten, thank you!

1. Download Net.sf.jadclipse_3.3.0.jar Address: http://jadclipse.sourceforge.net/

2. Copy the Net.sf.jadclipse_3.3.0.jar (function: If not installed, the 6th step is not found jadclipse) into the Eclipse installation directory under Plugins, as shown in

3. Jad.exe Download, Address: Http://www.javadecompilers.com/jad

4. Unzip the package to the Eclipse installation directory new folder Jad (you can also customize the directory) as shown in

5. Enter the Jad directory and create a new jadtemp file in this directory to hold the cache folder for the Jad.exe execution program, as shown in

6. Specify the Jad.exe path in Eclipse, and the path to the cache folder Jadtemp. In Eclipse, click the top menu windows->preferences, enter Jad in the search box, as shown in

7. Specify the default open mode for class files

8. Specify the default open mode for class files without source code

9. Test if it works

Done!

Ps:1. If it does not take effect, restart Eclipse and there is a problem with the configuration.

  The 2.Jad Anti-compilation tool occasionally appears to parse the class file, which is also unavoidable.

3. If the wall, please find another address to download.

How to configure the Anti-compilation tool in Eclipse Jadclipse

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.