1.
name:jd-eclipse_update_site
address:http://jd.benow.ca/jd-eclipse/update
在窗口 —》 首選項(preference) —》 常規 —》 編輯器(editor) —》 文件關聯 中設置,將.class 和 .class without source的默認的相關聯編輯器改爲class file editor。
2.
先下載插件包:
官網:
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)。