Eclipse View class file

Source: Internet
Author: User

In the use of third-party jar when there is no source code, error is a headache, no source does not know where the problem.

It is now possible to integrate into eclipse with Jad to view the source code when debugging.

One: Download plugin (GO)

Jad:http://www.kpdus.com/jad.html#download (select the version corresponding to the operating system) webpage seems to be open, here to everyone upload a copy, free for everyone to download the use

http://download.csdn.net/detail/sushengmiyan/6885693

jadclipse:http://sourceforge.net/project/showfiles.php?group_id=40205 (select version supported by Eclipse)

In the above download also protected the Jadeclipse plug-in, is Net.sf.jadclipse_3.3.0.jar

Two: Installation

1, the download to the Jad Anti-compilation tool decompression, the resulting jad.exe placed in a directory of the system, such as C:/java/jre1.5.0_07/bin; (location can be placed casually, later configuration to use, recommended to put in the Java directory)

2, the download to the Jadclipse compressed package Net.sf.jadclipse_3.3.0.jar (corresponding to the version you just downloaded) placed in the Eclipse directory plugins (the directory is specifically placed plug-ins, you can also set up a folder to place the plug-in, But remember the path, you need to configure it later)

Third, start the configuration

When the installation is complete, Eclipse automatically sets the Jadclipse class file viewer to the default open mode for class files.

If there is no default, you can modify the "*.class" default associated editor in windows--> Perference-->general->editors->file associations in Eclipse as " Jadclipse Class File Viewer.

Once the settings are complete, double-click the *.class file and eclipse will automatically decompile.
For a class that has a source code, it does not forcibly decompile, that is, it will view the class file with the eclipse's own class files viewer and manually set the window->preferences->java-> Jadclipse, ignore existing source selected, will not have the source code, will be anti-compilation.

In this way, when using the SOLRJ problem can be seen in the source code.

Eclipse View 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.