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.
ProGuard is useful for making code more compact and more efficient, on the desktop, on tablets, on smartphones, and on embedded devices. It also makes code more difficult to reverse engineer.
Follow ProGuard Java Optimizer and Obfuscator
Rate This ProjectLogin To Rate This Project
This is an awesome program and so useful! Basically it only takes two steps to complete using the command line version. (The GUI is probably even easier but did not run due to my version of Java installed) 1. Create a script file (examples can be easily found on the proguard website and it is really simple basically input,output and compilation settings) 2. Run proguard from the command line and target your script file Super simple and very easy to do. It then successfully shrunk my code to more than a fourth its original size. But most importantly it obfuscated the heck out of my code so that I couldn't even tell what was going on at the end! The only thing it doesn't do is obfuscate images but it still is better and easier than I ever expected! (note: with libraries it is slightly more complicated about how to proguard your Jar but if you just google the error it gives you I found lines to add to my script file to solve all the issues easily)
Recommended (JavaFX + Spring + Hibernate)
The key to making Proguard work for you is actually how you JAR your project files! After you create jar, try to verify it using jar tvf your.jar!!! If it works than Proguard will likely work too! Sometimes jar files are created using wrong command line arguments and APPEAR to be fine, only to result in problems when obfuscating!!! Proguard is really stable project and I am using it every time I publish next version of my project (Elliptic Curve Applet) on my site! Warmly recommend it! George Matveev www.matveev.se P.S. support could be a bit better, including submitting a ticket, etc!
The only obfuscator that I got to work with JavaFX + Spring.
Well, it looks really great but is too hard to get to work. Errors, errors everywhere. I am not alone, check stackoverflow tag proguard.