moving to Java 1.6 requirement, also add -d32/64 for exports, other misc

This commit is contained in:
benfry
2011-10-31 23:45:44 +00:00
parent b38875a56e
commit c4faf2dc28
8 changed files with 78 additions and 32 deletions

View File

@@ -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)