Java Decompiler(Java反编译工具)

Java Decompiler官网地址:http://jd.benow.ca/windows

官网介绍:eclipse

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.ui

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.spa

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.debug

Java Decompiler是Java语言的反编译工具,目前提供了:图形界面化的工具、Elipse插件、Intellij Idea插件。均可以从官网http://jd.benow.ca/下载。3d

 

官网下载入口以下图:code

1 各类操做系统的图形化界面工具下载

2 Eclipse开发平台插件下载

 

3 Intellij  Idea开发平台插件下载

 

安装方法以下:

1 windows下安装方法

首先须要下载window图形化界面的工具压缩包。

而后解压上面的压缩包,里面的内容以下。双击jd-gui.exe便可运行。

软件运行界面以下:

2 Eclipse离线安装Java Decompiler插件

第一步:下载eclipse插件

Eclipe的Java Decompiler插件名为JD-Eclipse,插件下载地址http://jd.benow.ca/

下载后的压缩包:

 

第二步:安装插件

Ecipse安装JD-Eclipse(即Java Decompiler)插件步骤以下:

打开Help——》Install  New  Software... 窗口

选择下载到本地的插件压缩包

下面就开始安装了,速度可能有点慢

若是弹出来提示,点击ok继续安装就能够。

安装完成以后,须要重启eclipse

 

等待eclipse重启以后,查看插件是否安装成功

查看 Window ->Preferences--> Java-->Decompiler,看下Demopiler选项是否存在,若是存在则说明安装成功了,此处也能够配置JD-Eclipse(即Java Decompiler),以下图.

 

下面查看Class文件的关联

打开 Window  --> Preferences--> General -->Editors -->File Associations 窗口,你就能够看到Class是怎么关联JD-Eclipse(即Java Decompiler),默认的配置以下
 

上述配置的大概意思是指:可以找到源代码的Class文件,则使用Eclipse的文件查看器打开,不然就使用JD-Eclipse插件(即Java Decompiler)的文件查看器打开

 

如何卸载JD-Eclipse插件

步骤以下

1)打开Help ==> Installation Details 


2)选择 中卸载的插件JD-Eclipse  Plug-in,而后点击Uninstall...便可完成卸载

相关文章
相关标签/搜索