016-Java Decompiler (Java decompiler tool)

Java Decompiler official website address: http://jd.benow.ca/

Official website introduction:

The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions.

JD-Core is a library that reconstructs Java source code from one or more “.class” files. JD-Core may be used to recover lost source code and explore the source of Java runtime libraries. New features of Java 5, such as annotations, generics or type “enum”, are supported. JD-GUI and JD-Eclipse include JD-Core library.

JD-GUI is a standalone graphical utility that displays Java source codes of “.class” files. You can browse the reconstructed source code with the JD-GUI for instant access to methods and fields.

JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all the Java sources during your debugging process, even if you do not have them all.

JD-IntelliJ is a plug-in for... the IntilliJ IDE.

JD-Core, JD-GUI & JD-Eclipse are open source projects released under the GPLv3 License.

Java Decompiler is a decompiler tool for the Java language. Currently, it provides: GUI-based tools, Elipse plug-ins, and Intellij Idea plug-ins. All can be downloaded from the official website http://jd.benow.ca/ .

 

The official website download entry is as follows:

1 Graphical interface tool download for various operating systems

2 Eclipse development platform plug-in download

 

3 Intellij Idea development platform plugin download

 

The installation method is as follows:

1 Installation method under windows

First, you need to download the tool zip package for the window graphical interface.

Then unzip the above compressed package, the contents are as follows. Double-click jd-gui.exe to run.

The software running interface is as follows:

2 Eclipse offline installation of Java Decompiler plugin

Step 1: Download the eclipse plugin

Eclipe's Java Decompiler plugin is named JD-Eclipse , and the plugin download address is http://jd.benow.ca/

The downloaded compressed package:

 

Step 2: Install the plugin

The steps for Ecipse to install the JD-Eclipse (ie Java Decompiler) plug-in are as follows:

Open the Help——>Install New Software... window

Select the plug-in compressed package downloaded to the local

The installation will start below, the speed may be a little slow

If a prompt pops up, click ok to continue the installation.

After the installation is complete, you need to restart eclipse

 

After waiting for eclipse to restart, check whether the plugin is installed successfully .

Check Window ->Preferences-->Java-->Decompiler to see if the Demopiler option exists. If it exists, the installation is successful. JD-Eclipse (ie Java Decompiler) can also be configured here, as shown below.

 

View the association of the Class file below

Open Window --> Preferences--> General -->Editors -->File Associations window, you can see how Class is associated with JD-Eclipse (ie Java Decompiler), the default configuration is as follows
 

The general meaning of the above configuration means: If the Class file of the source code can be found, use the Eclipse file viewer to open it, otherwise use the JD-Eclipse plug-in (ie Java Decompiler) file viewer to open it.

 

How to uninstall JD-Eclipse plugin

Proceed as follows

1) Open Help ==> Installation Details 


2) Select the JD-Eclipse Plug-in to be uninstalled, and then click Uninstall... to complete the uninstallation

 

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325461890&siteId=291194637