How do I decompile a .jar file? [duplicate]

被刻印的时光 ゝ 提交于 2019-12-06 01:23:26

问题


Possible Duplicates:
Where can I find a Java decompiler?
How to decompile a whole Jar file?

I have a .jar file. Its a single file, but I want to "decompile" it to get at the original java code (or at whatever would be closest to the Java code - something I could understand, and edit). I believe my file is (specifically) a java applet, but its saved as an executable jar file (.jar).

How would I do such a thing?


回答1:


Take a look at Java Decompiler.

It allows you to decompile jar files with the JD-GUI and browse the class files as source.

Here is another stackoverflow question.



来源:https://stackoverflow.com/questions/6964460/how-do-i-decompile-a-jar-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!