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/(new address changed to: Http://jd.benow.ca/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.
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.
[Eclipse plugin] Install and use the Jd-eclipse plugin