I\'m running ProGuard to shrink my jar file. One of the parameters it needs is the system\'s runtime jar. This is at $JAVA_HOME/lib/rt.jar on Sun distributions,
There's some explanation of how to get to the rt.jar equivalent in the What should I set JAVA_HOME to on OSX question.
The short answer is to use the result of /usr/libexec/java_home or to set JAVA_HOME to $(/usr/libexec/java_home) and then find classes.jar (the OS X equivalent of rt.jar) at JAVA_HOME/bundle/Classes/classes.jar