1、下载jd-eclipse-site-1.0.0-RC2.zip包
2、安装插件
- eclipse的help->Install New Software...
- name:随意填写,但是建议直接填写jd-eclipse-site-1.0.0-RC2)
- location:本地下载的安装包的地址(直接填写下载链接应该也可以,大家可以试试)
- 去除下方details处 的勾选框,然后再勾选上方的Java Decompliler Eclipse Plug-in
注意:一定要注意上方插件是否勾选成功,若先勾选插件,再取消下方details勾选框,会导致上方插件 被取消勾选。导致安装后不能查看。
- 然后一直点击next->next->finish 即可完成安装
3、切换默认打开方式
- "Window> Preferences > General> Editors > File Associations"
- 选中“*.class”,设置其默认打开方式为“JD Class File Viewer”
- 选中“*.class without source”,设置其默认打开方式为“JD Class File Viewer”
完成。