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