Installing and using the Jd-eclipse plugin

Source: Internet
Author: User

Jd-core is a free library that reconstructs Java source code from one or more ". Class" files. Jd-core can be used to recover lost source code and delve into the Java Runtime Class library. Features that support Java 5: such as annotations, generics, or typing "enumerations". Both Jd-gui and jd-eclipse include Jd-core.

Jd-gui is a standalone graphical user interface tool that displays the Java source code for the ". Class" file. You can use Jd-gui to browse and recreate the immediate access methods and fields of the source code to display the deserialized code in a code-height manner.

Gui:http://java.decompiler.free.fr/?q=jdgui, including Windows, Linux, and Mac versions.

Jd-eclipse is a plug-in eclipse platform. It allows you to debug all Java source code.

Official website: http://java.decompiler.free.fr/

You can choose to update directly online when installing in Eclipse, or you can download the plug-in package for local installation. Online installation Address: http://java.decompiler.free.fr/jd-eclipse/update/, plug-in package separate: http://java.decompiler.free.fr/jd-eclipse/ Update/jdeclipse_update_site.zip, you can choose your own on demand.

After installation, press F3 may be the original class viewer, can not normally call JD's Class viewer, at this time need to set class file association open way for JD program, such as: Eclipse default is the VIEWER,JD plug-in installation will have an editor, Select that and set as the default, then you can see in the F3, if you cannot find the source code will be anti-compilation class file to get the source code and display.

Open Eclipse, one-click: File Associations, Editors, General, Preferences, Window.

Set the assoicated editors of *.class and *.class without source to JD class File Editor (default).

Note: For a class that has a primitive code, he will not forcibly decompile, which means that he will still be viewing the class file with Eclipse's own class files viewer.

Installing and using the Jd-eclipse plugin

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.