be more explicit about this

This commit is contained in:
Ben Fry
2016-08-12 15:57:47 -04:00
parent ef7c4525f3
commit 490755b96c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -104,7 +104,7 @@ cmd_name='processing-java'
if [ $current_name = $cmd_name ]
then
java -Djna.nosys=true -Djava.ext.dirs=lib/ext -Xmx256m processing.mode.java.Commander "$@"
java -Djna.nosys=true -Djava.ext.dirs="$APPDIR"/java/lib/ext -Xmx256m processing.mode.java.Commander "$@"
exit $?
else
# Start Processing in the same directory as this script
@@ -115,5 +115,5 @@ else
fi
cd "$APPDIR"
java -splash:lib/about-1x.png -Djna.nosys=true -Djava.ext.dirs=lib/ext -Xmx256m processing.app.Base "$SKETCH" &
java -splash:lib/about-1x.png -Djna.nosys=true -Djava.ext.dirs="$APPDIR"/java/lib/ext -Xmx256m processing.app.Base "$SKETCH" &
fi
+1 -1
View File
@@ -1112,7 +1112,7 @@ public class JavaBuild {
if (i != 0) exportClassPath.append(",");
exportClassPath.append(jarList[i]);
}
} else {
} else if (exportPlatform == PConstants.LINUX) {
exportClassPath.append("$APPDIR");
for (int i = 0; i < jarList.length; i++) {
exportClassPath.append(":$APPDIR/lib/" + jarList[i]);