ProguardIs a free Java class file shrinker, optimizer, and obfuscator. it can detect and remove unused classes, fields, methods, and attributes. it can then optimize bytecode and Remove unused instructions. finally, it can rename the remaining classes, fields, and methods using short meaningless names. the resulting jars are smaller and harder to reverse-engineer.
More compact jar files also means smaller storage requirements, faster transfer of applications processing SS networks, faster loading, and smaller memory footprints.
Proguard'S main advantage compared to other Java obfuscators is probably its compact template-based configuration. A few intuitive command line options or a simple configuration file are usually sufficient. for instance, the following configuration option preserves all Applets in a jar:
-keep public class * extends java.applet.Applet
The user manual explains all available options and shows more examples of this powerful configuration style.
ProguardIs fast. It only takes seconds to process programs and libraries of several megabytes. The results section presents actual figures for a number of applications.
ProguardIs a command-line tool with an optional graphical user interface. It also comes with plugins for ant and for the agent wireless toolkit.
Version 3.0 introduced bytecode optimization, reading and writing of nested jars, and a brand new Ant task. Please report any problems, so they can be fixed soon.
The following sections provide more detailed information:
- Main: This overview page.
- Results: some results obtainedProguard, Including timings and memory usage.
- FAQ: answers to some frequently asked questions.
- Manual: the completeProguardUser Manual, with examples and troubleshooting tips.
- Quality: A Discussion of the (excellent) QualityProguard'S code.
- Screenshots: some impressions of whatProguardLooks like.
- Testimonials: what users thinkProguard.
- License:ProguardIs free, under a GPL license.
- Downloads: downloadProguardPackage yourself.
- Feedback: Tell me about your experiences, or learn from others on our forums.
- Acknowledgements: people who have been helpful.
- Alternatives: other Java obfuscators and shrinking programs.
Eric Lafortune, Luciad.