Stripper is a tool that lets you remove class file attributes selectively from a command line or from Ant.
Java class files contain a lot of information called "attributes". Depending on the intended use of those class files, some of the attributes can be safely removed to reduce the size of class files.
Take Stripper for a test drive to see what it can actually do for you!