diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatNativeLibrary.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatNativeLibrary.java index 263fbdb5..84e99309 100644 --- a/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatNativeLibrary.java +++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatNativeLibrary.java @@ -55,10 +55,16 @@ class FlatNativeLibrary String classifier; String ext; - if( SystemInfo.isWindows_10_orLater && (SystemInfo.isX86 || SystemInfo.isX86_64) ) { - // Windows: requires Windows 10/11 (x86 or x86_64) + if( SystemInfo.isWindows_10_orLater ) { + // Windows: requires Windows 10/11 + + if ( SystemInfo.isAARCH64 ) + classifier = "windows-aarch64"; + else if ( SystemInfo.isX86_64 ) + classifier = "windows-x86_64"; + else + classifier = "windows-x86"; - classifier = SystemInfo.isX86_64 ? "windows-x86_64" : "windows-x86"; ext = "dll"; // Do not load jawt.dll (part of JRE) here explicitly because