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

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

先下载插件包:

官网:

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)。