CPP-1525 Check 64-bit VM on launch

This commit is contained in:
Anton Makeev
2014-12-18 11:08:59 +01:00
parent 686cb4f009
commit 247bab9084
@@ -132,6 +132,14 @@ public class StartupUtil {
return false;
}
}
if (!"true".equals(System.getProperty("idea.no.64bit.check"))) {
if (PlatformUtils.isCidr() && !SystemInfo.is64Bit) {
String message = "32-bit JVM is not supported. Please install 64-bit version.";
Main.showMessage("Unsupported JVM", message, true);
return false;
}
}
return true;
}