Permalink
Browse files

added macosx startup script, for jvm 7 issues if they arise

  • Loading branch information...
gregjan committed Sep 21, 2012
1 parent c131e85 commit 98bb88804f56a2500b37da5dcceead11e8066533
Showing with 21 additions and 0 deletions.
  1. +21 −0 workbench_feature/rootfiles/workbench_macosx_start
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# Use Java Preferences to disable JVMs earlier than 7
+# edit the JAVA_HOME below to reflect your Java 7 install location
+export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home
+
+DIR=`dirname $0`
+LAUNCHER_JAR=$DIR/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 \
+-Dosgi.instance.area=@user.home/curators-workspace \
+-Djargon.debug=0 \
+-Dlog4j.configuration=file:$DIR/log4j.properties \
+-jar $LAUNCHER_JAR

0 comments on commit 98bb888

Please sign in to comment.