eclipse 安装反编译插件

eclipse 安装反编译插件
注意:jdk需要是1.8或以上
在eclipse的help——>Install New Software…添加新软件开发,添加它的源:
eclipse 安装反编译插件
name:jd-eclipse_update_site
address:http://jd.benow.ca/jd-eclipse/update
eclipse 安装反编译插件
出现Unable to read repository at http://jd.benow.ca/jd-eclipse/update/site.xml.
Unable to read repository at http://jd.benow.ca/jd-eclipse/update/site.xml.
Connection reset错误。

使用另外一种安装方法:
Help->Eclipse Marketplace…结果出现
Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Cannot resolve host
This is most often caused by a problem with your internet connection. Please check your
internet connection and retry.
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Unknown Host:
http://marketplace.eclipse.org/catalogs/api/p
Unknown Host: http://marketplace.eclipse.org/catalogs/api/p
marketplace.eclipse.org
Cannot resolve host
This is most often caused by a problem with your 的问题

解决方法:window->preferences->general->network connection,右边的active provider选择manual,勾上HTTP、HTTPS、SOCKS,apply一下,重启eclipse就行了。
重启eclipse后打开 Help->Eclipse Marketplace…
eclipse 安装反编译插件
在搜索框中输入Decompiler,(注意网络要通畅)搜索到Enhanced Class Decompiler 3.1.1,点击Install。
eclipse 安装反编译插件
接受条款+Finish。
eclipse 安装反编译插件
安装过程中会遇到以下提示,直接选OK即可。
eclipse 安装反编译插件
最后会提示你是否重启eclipse 重启就好了。