Skip to content

Commit 3bdf7ab

Browse files
committed
be more explicit about this
1 parent 2fdd11b commit 3bdf7ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/linux/processing

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ cmd_name='processing-java'
104104

105105
if [ $current_name = $cmd_name ]
106106
then
107-
java -Djna.nosys=true -Djava.ext.dirs=lib/ext -Xmx256m processing.mode.java.Commander "$@"
107+
java -Djna.nosys=true -Djava.ext.dirs="$APPDIR"/java/lib/ext -Xmx256m processing.mode.java.Commander "$@"
108108
exit $?
109109
else
110110
# Start Processing in the same directory as this script
@@ -115,5 +115,5 @@ else
115115
fi
116116
cd "$APPDIR"
117117

118-
java -splash:lib/about-1x.png -Djna.nosys=true -Djava.ext.dirs=lib/ext -Xmx256m processing.app.Base "$SKETCH" &
118+
java -splash:lib/about-1x.png -Djna.nosys=true -Djava.ext.dirs="$APPDIR"/java/lib/ext -Xmx256m processing.app.Base "$SKETCH" &
119119
fi

java/src/processing/mode/java/JavaBuild.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ protected boolean exportApplication(File destFolder,
11121112
if (i != 0) exportClassPath.append(",");
11131113
exportClassPath.append(jarList[i]);
11141114
}
1115-
} else {
1115+
} else if (exportPlatform == PConstants.LINUX) {
11161116
exportClassPath.append("$APPDIR");
11171117
for (int i = 0; i < jarList.length; i++) {
11181118
exportClassPath.append(":$APPDIR/lib/" + jarList[i]);

0 commit comments

Comments
 (0)