一、在eclipse的help—》Install New Software...中添加新軟件開發,添加它的源:java
name:jd-eclipse_update_siteeclipse
address:http://jd.benow.ca/jd-eclipse/update編輯器
二、選擇出現的資源,一路next安裝,最後重啓;ide
三、在窗口 —》 首選項(preference) —》 常規 —》 編輯器(editor) —》 文件關聯 中設置,spa
將*.class 和 *.class without source的默認的相關聯編輯器改成class file editor。插件
以上爲在線安裝。blog
附:ip
離線安裝,先下載插件包:ci
官網:http://java.decompiler.free.fr/資源
或者:http://aniyo.iteye.com/blog/1336622
一、下載jdeclipse_update_site.zip,解壓,將plugins文件下的 jd.ide.eclipse_0.1.3.jar和jd.ide.eclipse.win32.x86_0.1.3.jar複製到eclipse安裝目 錄下的plugins裏
二、在eclipse裏安裝,選擇help下的安裝插件install new soft 或者叫update ……版本不一樣不同,本身看哈 而後 點add site ,在彈出來的框的location選擇剛下載的包的路徑 而後下一步,安裝便可
三、安裝好後,修改一個設置,選window-preferences 在輸入框輸入file Associations 在右邊選*.class 下面將class file editor設置爲默認的便可(點右邊的default)