1. 程式人生 > >Eclipse安裝JD-Eclipse反編譯插件看源碼

Eclipse安裝JD-Eclipse反編譯插件看源碼

pda mil 一個 spa compile 輸入 首選項 war style

1、在eclipse的help—》Install New Software...中添加新軟件開發,添加它的源: 技術分享圖片 namejd-eclipse_update_siteaddresshttp://jd.benow.ca/jd-eclipse/update技術分享圖片

2、選擇出現的資源,一路next安裝,最後重啟;

3、在窗口 —》 首選項(preference) —》 常規 —》 編輯器(editor) —》 文件關聯 中設置,將*.class 和 *.class without source的默認的相關聯編輯器改為class file editor。技術分享圖片

 以上為在線安裝。附:離線安裝,先下載插件包:官網:http://java.decompiler.free.fr/或者:http://aniyo.iteye.com/blog/13366221、下載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)

Eclipse安裝JD-Eclipse反編譯插件看源碼