开发者

jar to .java conversion [duplicate]

开发者 https://www.devze.com 2023-02-12 16:49 出处:网络
This question already exists: Closed 11 years ago. Possible Duplicate: Where can I find a Java decompiler?
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

精彩评论

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

关注公众号