What is a good free java code Obfuscate program? I have heard of ProGuard but all I get is class not found when I run my applet so uhm... yeah -- anyone?
-
1possible duplicate of How to obfuscate a java based projectGreg Hewgill– Greg Hewgill2010-09-21 20:03:13 +00:00Commented Sep 21, 2010 at 20:03
-
1maybe it helps more if you reframe the question as "How to use Proguard to obfuscate an applet without encountering ClassNotFoundExceptions" wherein you put the detailed steps/configurations you used to obfuscate it and add detailed information about the exception itself (message, trace, etc).BalusC– BalusC2010-09-21 20:17:16 +00:00Commented Sep 21, 2010 at 20:17
-
I tried with minimal options and I think it's because of the class names.test– test2010-09-21 20:57:35 +00:00Commented Sep 21, 2010 at 20:57
-
Read the first answer of the duplicate question. It is about how to use ProGuardStephen C– Stephen C2010-09-21 21:20:57 +00:00Commented Sep 21, 2010 at 21:20
4 Answers
ProGuard is a good one.
ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. Finally, it preverifies the processed code for Java 6 or for Java Micro Edition.
Comments
yGuard is one I have used. It is open source, so you can try it out. http://www.yworks.com/en/products_yguard_about.html
I would be interested to know why your application is failing however. I have heard ProGuard is good, so maybe you are using wrong settings when you obfuscate?
Comments
You can look to good list Java Obfuscator here. If you want to have free obfuscator than you can use JBCO, Marvin Obfuscator, Proguard, YGuard.
Comments
Try arxan.com . I have not used it but I watched their presentation a year ago in cjug.
http://proguard.sourceforge.net/ also looks good.