This decompiles all classes in the jar file x.jar and puts
the java files into the directory src. You can also
decompile single classes or set the classpath so it
includes dependent libraries:
In Windows, you can select the text in the output window by
clicking the mouse in this window and pressing Ctrl-A
(all). Then copy it to the clipboard using Ctrl-C (copy).
Then open your favorite editor and press Ctrl-V and you'll
have a file you can save.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=18252
Yes, the graphical UI doesn't have a way to save output.
However there is another way, for example (put everything
in one line):
java -classpath jode-1.1.1.jar jode.decompiler.Main -d src
x.jar
This decompiles all classes in the jar file x.jar and puts
the java files into the directory src. You can also
decompile single classes or set the classpath so it
includes dependent libraries:
java -classpath jode-1.1.1.jar jode.decompiler.Main -c
lib.jar,foo.jar -d src org.foo.MainClass
Adding the save option to the graphical UI is something I
may do in the future.
Logged In: YES
user_id=364319
In Windows, you can select the text in the output window by
clicking the mouse in this window and pressing Ctrl-A
(all). Then copy it to the clipboard using Ctrl-C (copy).
Then open your favorite editor and press Ctrl-V and you'll
have a file you can save.
Logged In: NO
Does copy and paste not cut it for you? (No pun
intended.) It's what I've been using.
Logged In: YES
user_id=452223
The CVS-Version now has that feature.