How to quickly view the class source in a jar package in eclipse

Source: Internet
Author: User

When we look at the jar source code, the general is to install a Jd-gui, the jar is copied out, and then open the jar from the Jd-gui to view the source code, this process is a bit troublesome, of course, the quick view of this article is not a high-tech approach, but the Jd-gui integration in Eclipse, You can then open the class directly in Eclipse, which will not only be easy to operate but also save a lot of time, specific steps:

Download plugin: Jd-eclipse-site-1.0.0-rc2.zip

Open Eclipse-->help-->install New Software:


Name in the Name box, then click the Archive button, select the downloaded plugin, then click OK:


, check the plugin (because I am already installed, so the display style is not the same), the following checkbox is not checked, directly next-->finish.

OK, find a jar package, directly open the class file under test:


Alternatively, you can also click CTRL + left mouse button in your Java file to view the source code by clicking on the parent class (SDK) you inherited:


Activity Source:



How to quickly view the class source in a jar package in eclipse

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.