如何反编译整个 Jar 文件? [英] How to decompile a whole Jar file?

查看:39
本文介绍了如何反编译整个 Jar 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道可以反编译整个 Jar 文件而不是单个类的免费反编译器?我有像 name$1.class name$2.class name.class

这样的子类的问题

解决方案

2009: .

JD-Eclipse 自 2009 年末以来似乎没有改变(参见 变化).
因此,它与最新的 Eclipse(3.8、4.2+)的集成可能会出现问题.

JD-Core 正在积极维护.

两者都是(SO 用户)Emmanuel Dupuy.


2018:一个更现代的选择,提到了 在评论中来自David Kennedy Araujo:

JetBrains/intellij-community/plugins/java-decompiler/engine

<块引用>

Fernflower 是第一个实际工作的 Java 分析反编译器,可能也适用于一般的高级编程语言.

java -jar fernflower.jar [-

另见如何反编译为java文件intellij idea 用于使用最近的 IntelliJ IDEA 的命令.

Does anyone know of a free decompiler that can decompile an entire Jar file instead of a single class? I have a problem with sub classes like name$1.class name$2.class name.class

解决方案

2009: JavaDecompiler can do a good job with a jar: since 0.2.5, All files, in JAR files, are displayed.

See also the question "How do I "decompile" Java class files?".

The JD-Eclipse doesn't seem to have changed since late 2009 though (see Changes).
So its integration with latest Eclipse (3.8, 4.2+) might be problematic.

JD-Core is actively maintained.

Both are the result of the fantastic work of (SO user) Emmanuel Dupuy.


2018: A more modern option, mentioned in the comments by David Kennedy Araujo:

JetBrains/intellij-community/plugins/java-decompiler/engine

Fernflower is the first actually working analytical decompiler for Java and probably for a high-level programming language in general.

java -jar fernflower.jar [-<option>=<value>]* [<source>]+ <destination>

java -jar fernflower.jar -hes=0 -hdc=0 c:Tempinary -e=c:Java
t.jar c:Tempsource

See also How to decompile to java files intellij idea for a command working with recent IntelliJ IDEA.

这篇关于如何反编译整个 Jar 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆