Proguard on the Mac...
In trying to do a maven build on OS X which includes the proguard plugin for obfuscation we ran into an issue. Three jar files which are included in the runtime library in the Sun, I mean Oracle, Java version are not found. The solution we chose was to create three symbolic links like this (from JAVA_HOME/lib):
- sudo ln -s ../../Classes/classes.jar rt.jar
- sudo ln -s ../../Classes/jsse.jar .
- sudo ln -s ../../Classes/charsets.jar .
If you don't know where your JAVA_HOME is, run this command: /usr/libexec/java_home
Comments