10

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?

Community
  • 1
  • 1
Alper
  • 1
  • 12
  • 39
  • 78

1 Answers1

16

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.

Community
  • 1
  • 1
Kal
  • 24,724
  • 7
  • 65
  • 65
  • It even has an eclipse plugin and works seamlessly while opening class files where source code is not available. – Shahzeb Aug 06 '11 at 03:05
  • You can even use Java Decompiler to save the sources of the jar file in an archive which you can later unarchive and see. – Varun Bhatia Mar 14 '13 at 05:09