安装JD-Eclipse反编译插件

1、打开eclispe,在eclipse的菜单栏上选择Help->Install New Software 

Name:jd-eclipse_update_site

Location:http://jd.benow.ca/jd-eclipse/update


安装JD-Eclipse反编译插件

  2,点击InstallNew Softeware,进入如下窗口。

安装JD-Eclipse反编译插件

3,在对话框中点击add按钮,然后在弹出的对话框中输入名字和下载链接(因为它在下载,时间可能有点慢,多等一会),如下图所示

安装JD-Eclipse反编译插件

Name:jd-eclipse_update_site

Location:http://jd.benow.ca/jd-eclipse/update

4,点击ok按钮出现下面显示的对话框,勾上对话框中间显示的反编译插件,然后把Contactall update sites install  to find required software前面的勾点掉,防止它寻找指定的软件前先访问所更新站点,耗费时间。然后一直点击next就安装完成了,安装完成之后重新启动eclipse。

安装JD-Eclipse反编译插件

5、重启之后,在窗口菜单栏点击Widow->Preference->General->Editors->File Associations,将FileType里的*.class和*.classwithout source的Associated editors下面的Class File Editor设置成default即可,如下图所示。

安装JD-Eclipse反编译插件

如果里边没有*.class和*.class without source ,class file editor,需要先Add进来