Skip to content

Instantly share code, notes, and snippets.

@gregjan
Created September 10, 2012 20:22
Show Gist options
  • Save gregjan/3693587 to your computer and use it in GitHub Desktop.
Save gregjan/3693587 to your computer and use it in GitHub Desktop.
Lauch script for Curator's Workbench MacOSX and Java 7
#!/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
@gregjan
Copy link
Author

gregjan commented Sep 10, 2012

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.

@gregjan
Copy link
Author

gregjan commented Sep 10, 2012

@gregjan
Copy link
Author

gregjan commented Sep 10, 2012

@gregjan
Copy link
Author

gregjan commented Sep 10, 2012

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

@gregjan
Copy link
Author

gregjan commented Sep 10, 2012

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