There are plenty of Java compressor tools that are available for web developers which provides good compression rate and is also easy to use.
Know more about Closure Compiler and download here
Know more about JSMin and download here
Know more about YUI Compressor here
Know more about UglifyJS and download here
Know more about KJScompress here