mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CPP-1525 Check 64-bit VM on launch
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user