mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
moving to Java 1.6 requirement, also add -d32/64 for exports, other misc
This commit is contained in:
@@ -1325,6 +1325,16 @@ public class JavaBuild {
|
||||
runOptions += " -Xmx" +
|
||||
Preferences.get("run.options.memory.maximum") + "m";
|
||||
}
|
||||
if (exportPlatform == PConstants.MACOSX) {
|
||||
// If no bits specified (libs are all universal, or no native libs)
|
||||
// then exportBits will be 0, and can be controlled via "Get Info".
|
||||
// Otherwise, need to specify the bits as a VM option.
|
||||
if (exportBits == 32) {
|
||||
runOptions += " -d32";
|
||||
} else if (exportBits == 64) {
|
||||
runOptions += " -d64";
|
||||
}
|
||||
}
|
||||
|
||||
/// macosx: write out Info.plist (template for classpath, etc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user