I don't know if this topic belongs here but I am gonna explain my litte problem anyway. By mistake I deleted some part of Java code in my app. I tried to restore Windows to save the source file but it didn't work. I didn't get back the original source code no matter what I tried. But instead I got back the original class file so therefore I am wondering if there is a way of transforming this class file into Java source file, perhaps with the help of some other program or?
Originally posted by dave hopkins: I never realised it was so easy to decompile a java file! I mean I know it's not perfect but doesn't this (jad) make non open source java programs a bit of a joke?
No. A good obfuscator can make reverse-engineering code more trouble than it's worth. Plus there's nothing that says all Java applications need to have class files on a machine the vendor doesn't control.
If you're gonna buy things, buy this thing and I get a fat kickback: