Eclipse在线安装JD-Eclipse反编译插件用于查看jar包源码

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

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

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

Name:jd-eclipse_update_site

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

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

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

猜你喜欢

转载自blog.csdn.net/qq_36908872/article/details/83217125