Skip to content

Instantly share code, notes, and snippets.

@angeldm
Created March 14, 2013 18:35
Show Gist options
  • Save angeldm/5163967 to your computer and use it in GitHub Desktop.
Save angeldm/5163967 to your computer and use it in GitHub Desktop.
Eclipse on Mac with jdk 1.7
#!/bin/sh
#
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home
LAUNCHER_JAR=plugins/org.eclipse.equinox.launcher_1.3.0.v20130125-144918.jar
java \
-showversion \
-XX:MaxPermSize=256m \
-Xms1024m \
-Xmx1024m \
-Xdock:icon=Eclipse.app/Contents/Resources/Eclipse.icns \
-XstartOnFirstThread \
-Dorg.eclipse.swt.internal.carbon.smallFonts \
-Dosgi.requiredJavaVersion=1.7 \
-jar $LAUNCHER_JAR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment