Linux export w/ JNA option, other todo list updates

This commit is contained in:
Ben Fry
2014-05-10 16:32:53 -04:00
parent 2970497860
commit 755096c4db
3 changed files with 54 additions and 44 deletions

View File

@@ -1572,7 +1572,9 @@ public class JavaBuild {
// https://github.com/processing/processing/issues/2349
pw.print("$APPDIR/java/bin/");
}
pw.print("java " + Preferences.get("run.options") +
String runOptionsStr =
PApplet.join(runOptions.toArray(new String[0]), " ");
pw.print("java " + runOptionsStr +
" -Djava.library.path=\"$APPDIR:$APPDIR/lib\"" +
" -cp \"" + exportClassPath + "\"" +
" " + sketch.getName() + " \"$@\"\n");