Created
February 4, 2013 03:59
-
-
Save takumakei/4704943 to your computer and use it in GitHub Desktop.
How do I run Eclipse using Oracle's new 1.7 JDK for the Mac ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
ECLIPSE_APP=$(cd $(dirname "$0"); cd ../..; pwd) | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home | |
$JAVA_HOME/bin/java \ | |
-showversion \ | |
-XX:MaxPermSize=256m \ | |
-Xms1536m \ | |
-Xmx1536m \ | |
-Xdock:icon=$ECLIPSE_APP/Contents/Resources/Eclipse.icns \ | |
-XstartOnFirstThread \ | |
-Dorg.eclipse.swt.internal.carbon.smallFonts \ | |
-Dosgi.requiredJavaVersion=1.5 \ | |
-jar $ECLIPSE_APP/../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar \ | |
-showsplash org.eclipse.platform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment