Eclipse如何安装JD-Eclipse反编译插件

2023-02-12,,,,

一、Eclipse在线安装JD-Eclipse反编译插件

1、在eclipse的help—》Install New Software...中添加新软件开发,添加它的源:

name:jd-eclipse_update_site
address:http://jd.benow.ca/jd-eclipse/update

出现上面的界面,说明已经安装过了。

2、选择出现的资源,一路next安装,最后重启;

3、在窗口 —》 首选项(preference) —》 常规 —》 编辑器(editor) —》 文件关联 中设置,将*.class 和 *.class without source的默认的相关联编辑器改为class file editor。

二、离线安装JD-Eclipse反编译插件
 
先下载插件包:
 
官网:
 
http://java.decompiler.free.fr/
 
http://jd.benow.ca/#jd-gui-download
 
或者:http://aniyo.iteye.com/blog/1336622

 
 
 
1、 下载jdeclipse_update_site.zip,解压,将plugins文件下的jd.ide.eclipse_0.1.3.jar和 jd.ide.eclipse.win32.x86_0.1.3.jar复制到eclipse安装目录下的plugins里 ;
 
2、在eclipse里安装,选择help下的安装插件install new soft 或者叫update ……版本不同不一样,自己看哈  然后 点add site ,在弹出来的框的location选择刚下载的包的路径  然后下一步,安装即可 ;
 
3、安装好后,修改一个设置,选window-preferences  在输入框输入file Associations  在右边选*.class  下面将class file editor设置为默认的即可(点右边的default)。

Eclipse如何安装JD-Eclipse反编译插件的相关教程结束。

《Eclipse如何安装JD-Eclipse反编译插件.doc》

下载本文的Word格式文档,以方便收藏与打印。