...
To setup Servoy Developer on OSX to work with Java 7 (assuming Java 7 is already installed) are the following steps need to be performed:1)
...
...
...
...
...
Code Block |
---|
#\!/bin/sh |
...
\# |
...
export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home |
...
LAUNCHER_JAR=../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar |
...
LAUNCHER_LIB=../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.101.v20120109-1504 |
...
java \ |
...
\-showversion \ \ |
...
-XX:MaxPermSize=256m \ \ |
...
-Xms40m \ \ |
...
-Xmx512m \ |
...
\-Xdock:icon=../Resources/servoy.icns \ \ |
...
-XX:+UseParallelGC \ \ |
...
-XstartOnFirstThread \ |
...
\-Dorg.eclipse.swt.internal.carbon.smallFonts \ |
...
\-Dnativeswing.interface.inprocess.useExternalSWTDisplay=true \ |
...
\-Dnativeswing.dependencies.checkVersions=false \ |
...
\-Dsun.awt.disableMixing=true \ |
...
\-Dosgi.requiredJavaVersion=1.6 \ \ |
...
-jar $LAUNCHER_JAR \ \ |
...
--launcher.library $LAUNCHER_LIB |
...
...
...
...
To doublecheck that Servoy Developer actually runs with 1.7 (check Servoy Developer->About Servoy Developer->Installation Details->Configuration , see Servoy Developer > About Servoy Developer > Installation Details > Configuration java.runtime.version for instance)
NOTE: the four steps above correspond to advice from https://www.servoy.com/forum/viewtopic.php?f=5&t=19253#p103941