开发者

jar to .java conversion [duplicate]

This question already exists: Closed 11 years ago.

Possible Duplicate:

Where can I find a Java decompiler?

Can anyone tel开发者_运维知识库l me how i can convert jar file to it's corresponding .java source file?

I have jar file from unknown source. Is it possible to get the corresponding .java source file out of jar?


You can use java decompiler


In principle you can decompile any jar file, by using ,for example, JAD http://en.wikipedia.org/wiki/JAD_%28JAva_Decompiler%29

But if the jar was obfuscated the result may not be very pretty. ;)


My fav decompiler is cavaj, you can download from the following url

http://cavaj-java-decompiler.en.softonic.com/


Normally are in a "jar" archive only the compiled Java files (". class"). But you could theoretically try to decompile these files.

Here you'll find e.g. a decompiler

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜