在eclipse中整合java反編譯工具

來源:互聯網
上載者:User
Introduction

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-Core, JD-GUI and JD-Eclipse are free for non-commercial use. This means that JD-Core, JD-GUI and JD-Eclipse shall not be included or embedded into commercial software products. Nevertheless, these projects
may be freely used for personal needs in a commercial or non-commercial environments.

在這裡講解兩種安裝“Java Decompiler”法①採用安裝壓縮檔的格式,首先到http://java.decompiler.free.fr/jd-eclipse/update/上找到
使用瀏覽器開啟這個地址,如果打不開的話,或者出現如下情況
那麼將瀏覽器中顯示的地址複製到迅雷中進行下載,即複製這個地址http://jd.benow.ca/jd-eclipse/downloads/jdeclipse_update_site.zip下載完成之後,是一個壓縮檔,用好壓開啟可以看到
當然了這時候可以將對應的檔案夾分別複製到eclipse下面對應的檔案夾也行,但是我使用的是如下方式,點擊eclipse中的Help->Install new Software->點擊Work with後面的Add->點擊
Archive,選中你剛下載的壓縮檔,然後在Name中輸入任意名字均可,比如“Java Decompiler”,點擊OK,之後選中
一路Next即可,安裝完成之後重啟eclipse。
法②採用更新地址的方式前面一直到Add與上一種方式都一樣操作,在Location中輸入 http://java.decompiler.free.fr/jd-eclipse/update 這個地址,Name可以任意填寫,然後也是一路Next即可,完成之後重啟eclipse即可。



聯繫我們

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