mirror of
https://github.com/processing/processing4.git
synced 2026-02-15 19:35:37 +01:00
tweak 64- and 32-bit export on Windows to include JNA switch
This commit is contained in:
@@ -1279,7 +1279,7 @@ public class JavaBuild {
|
||||
PrintWriter writer = PApplet.createWriter(batFile);
|
||||
writer.println("@echo off");
|
||||
String javaPath = embedJava ? ".\\java\\bin\\java.exe" : "java";
|
||||
writer.println(javaPath + " -Djava.ext.dirs=lib -Djava.library.path=lib " + sketch.getName());
|
||||
writer.println(javaPath + " -Djna.nosys=true -Djava.ext.dirs=lib -Djava.library.path=lib " + sketch.getName());
|
||||
writer.flush();
|
||||
writer.close();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user