Windows on Arm will be filtered out specifically

This commit is contained in:
minjaesong
2024-09-27 12:46:56 +09:00
parent 70f2a23354
commit f103d9ae0c

View File

@@ -79,6 +79,12 @@ public class Principii {
}
if (OS.contains("WIN")) {
if (runtimeArch.equals("arm")) {
System.err.println("Windows on Arm is not supported");
System.exit(1);
return;
}
runtimeRoot = "runtime-windows-" + runtimeArch;
}
else if (OS.contains("OS X") || OS.contains("MACOS")) { // OpenJDK for mac will still report "Mac OS X" with version number "10.16", "11.x", "12.x", "13.x", ...