如何在Eclipse 3.1.1上安裝jadclipse[java的反編譯工具]

來源:互聯網
上載者:User
如何在Eclipse 3.1.1上安裝jadclipse[java的反編譯工具]

------摘要:java_流子 Jan.17 2006--------

jad是java的反編譯工具,是命令列執行,反編譯出來的源檔案可讀性較高。可惜用起來不太方便。還好

找到eclipse下的外掛程式,叫jadclipse,安裝好之後,只要雙擊.class檔案,就能直接看源檔案,包括jar

包中的class檔案,也可以直接反編譯。

1.下載jad1.5.8e
http://www.kpdus.com/jad.html#download
下載後解壓。解壓縮後將jad.exe拷貝到JRE的bin目錄下,如/Java/jre1.5.0_06/bin

2.下載 jadclipse_3.1.0.jar
http://jaist.dl.sourceforge.net/sourceforge/jadclipse/jadclipse_3.1.0.jar

jadclipse_3.3.jar

http://jaist.dl.sourceforge.net/sourceforge/jadclipse/net.sf.jadclipse_3.3.0.jar
將jadclipse_3.1.0.jar複製到D:/Program Files/eclipse/myplugin/eclipse/plugins目錄下(用的是

link方式安裝外掛程式的)。

3.啟動Eclipse後,在Windows-->Perference-->Java下面應該會多出一個JadClipse目錄,相關的設定可

以在此修改
配置jadclipse:設定path to decompiler為jad.exe的全路徑,如:F:/Java/jre1.5.0_06/bin/jad.exe

,在Directory for temporary files中指定臨時檔案的路徑,如:G:/Java/eclipse-SDK-3.0-win32/temp
4、在Eclipse的Windows-->Perference-->General->Editors->File Associations中修改“*.class”默

認關聯的編輯器為“JadClipse Class File Viewer”
5、安裝完成,雙擊class檔案,Eclipse將自動反編譯了。

good luck!

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.