Homepage
Jode |
JODE is a java package containing a decompiler and an optimizer (aka obfuscator ;-) for java. This package was totally written in my spare time and is available for free (see license).
The decompiler takes class files as input and produces something similar to the original java file. Of course this can't be perfect: There is no way to produce the comments or the names of local variables (except when compiled with debuging) and there are often more ways to write the same thing. But JODE does its job quite well, so you should give it a try: start the applet. The optimizer transforms class files in various ways with can be controlled by a script file. It supports the following operations:
News
Older News
Known BugsSmall bugs, that should be fixed in the next release:
Now follows a list of oddities, that will probably never get completely fixed. If not all dependent classes can be found, the verifier (which is
run before decompilation starts) may exit with a type error. You
can decompile it with --verify=off, but take the warning
serious, that the types may be incorrect. There's sometimes no way
to guess the right type, if you don't have access the full class
hierarchie. There may be situations, where the code doesn't understand complex expressions. In this case many ugly temporary variables are used, but the code should still be compileable. This does especially happen when you compile with `-O' flag and javac has inlined some methods. Sometimes this program may exit with an Sometimes JODE generates some GOTO expression and labels. This shouldn't happen any more with code produced by javac or jikes. But some flow obfuscator likes Zelix Klassmaster may provoke this. In that case you can run the Obfuscator first (to optimize away the flow obfuscation ;-). |
http://www.informatik.uni-oldenburg.de/~delwi/jode/jode.html, last updated on 24-Okt-1999.