標籤:roc int ring xpl span 雙擊 stand one 運行
Java Decompiler官網地址:http://jd.benow.ca/
官網介紹:
The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions.
JD-Core is a library that reconstructs Java source code from one or more “.class” files. JD-Core may be used to recover lost source code and explore the source of Java runtime libraries. New features of Java 5, such as annotations, generics or type “enum”, are supported. JD-GUI and JD-Eclipse include JD-Core library.
JD-GUI is a standalone graphical utility that displays Java source codes of “.class” files. You can browse the reconstructed source code with the JD-GUI for instant access to methods and fields.
JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all the Java sources during your debugging process, even if you do not have them all.
JD-IntelliJ is a plug-in for... the IntilliJ IDE.
JD-Core, JD-GUI & JD-Eclipse are open source projects released under the GPLv3 License.
Java Decompiler是Java語言的反編譯工具,目前提供了:圖形介面化的工具、Elipse外掛程式、Intellij Idea外掛程式。都可以從官網http://jd.benow.ca/下載。
官網下載入口如:
1 各種作業系統的圖形化介面工具下載
2 Eclipse開發平台外掛程式下載
3 Intellij Idea開發平台外掛程式下載
安裝方法如下:
1 windows下安裝方法
首先需要下載window圖形化介面的工具壓縮包。
然後解壓上面的壓縮包,裡面的內容如下。雙擊jd-gui.exe即可運行。
軟體運行介面如下:
2 Eclipse離線安裝Java Decompiler外掛程式
第一步:下載eclipse外掛程式
Eclipe的Java Decompiler外掛程式名為JD-Eclipse,外掛程式http://jd.benow.ca/
下載後的壓縮包:
第二步:安裝外掛程式
Ecipse安裝JD-Eclipse(即Java Decompiler)外掛程式步驟如下:
開啟Help——》Install New Software... 視窗
選擇下載到本地的外掛程式壓縮包
下面就開始安裝了,速度可能有點慢
如果彈出來提示,點擊ok繼續安裝就可以。
安裝完成之後,需要重啟eclipse
等待eclipse重啟之後,查看外掛程式是否安裝成功。
查看 Window ->Preferences--> Java-->Decompiler,看下Demopiler選項是否存在,如果存在則說明安裝成功了,此處也可以配置JD-Eclipse(即Java Decompiler),如.
下面查看Class檔案的關聯
開啟 Window --> Preferences--> General -->Editors -->File Associations 視窗,你就可以看到Class是怎麼關聯JD-Eclipse(即Java Decompiler),預設的配置如下
上述配置的大概意思是指:能夠找到原始碼的Class檔案,則使用Eclipse的檔案查看器開啟,否則就使用JD-Eclipse外掛程式(即Java Decompiler)的檔案查看器開啟
如何卸載JD-Eclipse外掛程式
步驟如下
1)開啟Help ==> Installation Details
2)選擇 中卸載的外掛程式JD-Eclipse Plug-in,然後點擊Uninstall...即可完成卸載
016-Java Decompiler(Java反編譯工具)