Created
September 10, 2012 20:22
-
-
Save gregjan/3693587 to your computer and use it in GitHub Desktop.
Lauch script for Curator's Workbench MacOSX and Java 7
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 | |
# | |
# edit the INSTALL_PATH below to reflect your install location | |
INSTALL_PATH=/Users/count0/Desktop | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home | |
LAUNCHER_JAR=$INSTALL_PATH/curators-workbench/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar | |
java \ | |
-showversion \ | |
-XX:MaxPermSize=256m \ | |
-Xms1024m \ | |
-Xmx1024m \ | |
-XstartOnFirstThread \ | |
-Dorg.eclipse.swt.internal.carbon.smallFonts \ | |
-Dosgi.requiredJavaVersion=1.7 \ | |
[email protected]/curators-workspace \ | |
-Djargon.debug=0 \ | |
-Dlog4j.configuration=file:./log4j.properties \ | |
-jar $LAUNCHER_JAR |
script adapted from this thread:
http://stackoverflow.com/questions/10352715/how-do-i-run-eclipse-using-oracles-new-1-7-jdk-for-the-mac
Obtain the Oracle JVM here:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
The above Oracle link was for the JDK. Here is the link for just the JRE:
http://www.oracle.com/technetwork/java/javase/downloads/jre7u7-downloads-1836441.html
Okay so, if you install the JRE then the workbench.app launcher will work on it's own. That is a big relief for the Mac users.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This launch script must be made executable before it is used. "chmod 755 workbench" should work. The Java 7 location above reflects the default install location of the Oracle Mac OSX Java SE 7 edition.