0

Possible Duplicate:
Where can I find a Java decompiler?

Can anyone tell 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?

Community
  • 1
  • 1
Vidz
  • 406
  • 2
  • 4
  • 16
  • you can contact its author. otherwise, you're looking for a [decompiler](http://www.google.co.in/search?q=java+decompiler) – asgs Feb 23 '11 at 12:52

4 Answers4

0

You can use java decompiler

jmj
  • 237,923
  • 42
  • 401
  • 438
0

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. ;)

Svilen
  • 1,377
  • 1
  • 16
  • 23
0

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

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

Sankar Ganesh PMP
  • 11,927
  • 11
  • 57
  • 90
0

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