OS X does not like quotes here

This commit is contained in:
Ben Fry
2016-08-19 14:11:22 -04:00
parent bcd7f9daf2
commit 3f0ed67d8c
2 changed files with 3 additions and 2 deletions

View File

@@ -956,9 +956,9 @@ public class JavaBuild {
if (embedJava) {
// if people don't embed Java, it might be a mess, but what can we do?
if (exportPlatform == PConstants.MACOSX) {
runOptions.append("-Djava.ext.dirs=\"$APP_ROOT/Contents/PlugIns/jdk" +
runOptions.append("-Djava.ext.dirs=$APP_ROOT/Contents/PlugIns/jdk" +
PApplet.javaVersionName +
".jdk/Contents/Home/jre/lib/ext\"");
".jdk/Contents/Home/jre/lib/ext");
} else if (exportPlatform == PConstants.WINDOWS) {
runOptions.append("-Djava.ext.dirs=\"%EXEDIR%/java/lib/ext\"");
} else if (exportPlatform == PConstants.LINUX) {