推荐一款非常好用的java反编译工具

用c++写成,可反编译class文件,支持jar包级的反编译,可将整个jar包直接保存为*.src.zip源代码包,反编译迅速,错误率极少,详细的看下面

下载地址:http://java.decompiler.free.fr/?q=jdgui

Introduction

The aim of “Java Decompiler” project is to develop tools to decompile and analyze Java 5, and upper, “.class” files.

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

What's New News

12 02 2008
JD-GUI have been downloaded nearly 11.000 times last month !
11 24 2008

JD-GUI 0.2.6 is ready. This is the first release fixing the bugs that you have reported.

10 29 2008
The "Drupalization" of Web site has been more longer than expected but it is done !
You can post suggestions or report bugs now.
10 06 2008

20.000 downloads !

Click here to view all news.

Main features

  • JD-Core and JD-GUI are written in C++. This allows an extremely fast decompilation and a display.
  • JD-Core does not require the Java runtime environment for its functioning, therefore no special setup is required.
  • JD-Core works with most current compilers including the following:
    • jdk1.1.8
    • jdk1.3.1
    • jdk1.4.2
    • jdk1.5.0
    • jdk1.6.0
    • jikes-1.22
    • harmony-jdk-r533500
    • Eclipse Java Compiler v_677_R32x, 3.2.1 release
    • jrockit90_150_06
  • JD-Core supports the following new features of Java 5:
    • Annotations
    • Generics
    • Type “enum”
  • JD-GUI supports Drag and Drop.
  • JD-GUI supports JAR files.
  • JD-GUI displays color coded Java source code.
  • JD-GUI allows you to browse the “class” files hierarchy.
  • JD-GUI displays “log” files, and allow you to decompile “class” files appearing in Java stack traces.
  • JD-Core and JD-GUI use the excellent cross-platform wxWidgets toolkit.

Known issues

JD-Core and JD-GUI are currently under development.

  • Nested ternary operators are incorrectly reconstructed.
  • Switch statements using enumerated types are not decompiled yet.
  • ...

Disclaimer

Copyright © 2008 Emmanuel Dupuy.

THIS SOFTWARE IS PROVIDED “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

原文地址:https://www.cnblogs.com/chenying99/p/2493626.html