How to quickly view the class source code in the jar package in Eclipse, eclipsejar

Source: Internet
Author: User

How to quickly view the class source code in the jar package in Eclipse, eclipsejar

When we check the jar source code, we usually install a jd-gui, copy the jar, open the jar from the jd-gui, and then view the source code. This process is troublesome, of course, the quick view method described in this article does not have any high-tech means. It just integrates jd-gui into Eclipse, and then you can directly open the class in Eclipse, this will not only facilitate the operation 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 the plug-in the Name box, click Archive, select the downloaded plug-in, and click OK:


, Select the plug-in (because I have already installed the plug-in, so the display style is not the same), do not select the checkbox below, directly next --> finish.

Okay. Find a jar package and open the class file for testing:


Alternatively, you can press Ctrl + the left mouse button in your java file and click the parent class (SDK) You inherit to view the source code:


Activity source code:



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.