Skip to content

Instantly share code, notes, and snippets.

@domix
Created October 29, 2013 21:20
Show Gist options
  • Select an option

  • Save domix/7222825 to your computer and use it in GitHub Desktop.

Select an option

Save domix/7222825 to your computer and use it in GitHub Desktop.
IntelliJ IDEA 12 Launcher Mavericks
#!/bin/bash
export JAVA_HOME=`/usr/libexec/java_home`
export APP_PACKAGE='/Applications/IntelliJ IDEA 12.app'
exec $JAVA_HOME/bin/java -cp $JAVA_HOME/lib/tools.jar:"$APP_PACKAGE"/lib/bootstrap.jar:"$APP_PACKAGE"/lib/extensions.jar:"$APP_PACKAGE"/lib/util.jar:"$APP_PACKAGE"/lib/jdom.jar:"$APP_PACKAGE"/lib/log4j.jar:"$APP_PACKAGE"/lib/trove4j.jar:"$APP_PACKAGE"/lib/jna.jar -Didea.paths.selector=IntelliJIdea12 -Dfile.encoding=UTF-8 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+UseCodeCacheFlushing -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:+HeapDumpOnOutOfMemoryError -Xverify:none -Xbootclasspath/a:"$APP_PACKAGE"/lib/boot.jar -XX:MaxPermSize=256m -Xdock:icon="$APP_PACKAGE"/Contents/Resources/idea.icns com.intellij.idea.Main &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment