java class檔案反編譯外掛程式

來源:互聯網
上載者:User

 eclipse的java的class檔案的反編譯工具:jadclipse.

 

一:下載jad

到http://www.varaneckas.com/jad 下載適合你的版本的jad。

二:下載jadclipse

到http://sourceforge.net/projects/jadclipse/ 下載jadclipse。

三:安裝配置

1,解壓下載的jad。我用的是windows版本。解壓得到jad.exe檔案,copy到您的jdk的bin目錄下即可。

2,將下載得到的net.sf.jadclipse_3.3.0.jar檔案copy到eclipse下的plugins目錄下。

四:測試使用。

1,重啟您的eclipse。window-->perferences--->java--->jadClipse

path to decompiler :設定反編譯工具jad的路徑名 ,預設路徑即時jdk下的bin.如果顯示的位jad,則不用修改。

Directory for temporary files,這裡設定臨時檔案路徑。

五:安裝完成後,eclipse自動將JadClipse Class File Viewer設定成class檔案的預設開啟檔案。如果沒有預設,可以在Eclipse的Windows——> Perference——>General->Editors->File Associations中修改“*.class”預設關聯的編輯器為“JadClipse Class File Viewer”。設定完成後,雙擊*.class檔案,eclipse將自動反編譯。 


註: 對於存在原始碼的類,它不會強行反編譯,也就是說它還是會用eclipse內建的Class File Viewer查看class檔案。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.