Showing posts with label tricks. Show all posts
Showing posts with label tricks. Show all posts

Wednesday, 27 February 2008

Jad tricks

Hey guys,

No Java lesson for today, as I'm a bit busy (lazy :P). Instead I'll show you some cool tricks with Jad.

Sometimes when you try to decompile a class you see an error message saying "Class file version mismatch". But you can still go on and force Jad to decompile it using the -debug option:
jad -debug Test.class
Another common case is when there are many classes (like in qtj2) and you want to do a batch decompilation. The wildcard character can help a bit:
jad *.class
But this one is much cooler:
jad -r quangntenemy**/*.class