Skip to content

Instantly share code, notes, and snippets.


iokill/ Secret

Created Jan 4, 2013
What would you like to do?
Workaround to run MOCCA ( on OS X after installing the latest Java update from Apple. NOTE: This script uses the "old" (probably outdated and insecure) Java 1.6 provided by Apple.
curl -o mocca.jnlp ""
/Library/Java/Home/bin/java -classpath /Library/Java/Home/lib/deploy.jar -DtrustProxy=true -Xverify:remote -Djnlpx.home=/Library/Java/Home/bin -Djnlpx.origFilenameArg=mocca.jnlp -Djnlpx.remove=false -Dsun.awt.warmup=true -Xbootclasspath/a:/Library/Java/Home/lib/javaws.jar:/Library/Java/Home/lib/deploy.jar:/Library/Java/Home/lib/plugin.jar -d32 -Xdock:name=MOCCA -Xdock:icon=/Library/Java/Home/lib/deploy/webStartAppIcon.icns -Dmacosx.jnlpx.dock.icon=/Library/Java/Home/lib/deploy/webStartAppIcon.icns -splash:/Library/Java/Home/lib/deploy/splash.gif -Djnlpx.jvm="/Library/Java/Home/bin/java" -Djnlpx.vmargs=-d32 com.sun.javaws.Main -verbose mocca.jnlp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.