Support for Windows on ARM 64-bit
See original GitHub issueI just tested a Java Swing application with the FlatLaf on Windows 11 ARM 64-bit and I got the following error:
java.lang.UnsatisfiedLinkError: C:\Users\xander\AppData\Local\Temp\flatlaf.temp\flatlaf-windows-x86-20900948333330.dll: Can't load IA 32-bit .dll on a ARM 64-bit platform
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:384)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:228)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:170)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2389)
at java.base/java.lang.Runtime.load0(Runtime.java:755)
at java.base/java.lang.System.load(System.java:1953)
at com.formdev.flatlaf.util.NativeLibrary.loadLibraryFromJar(NativeLibrary.java:108)
at com.formdev.flatlaf.util.NativeLibrary.<init>(NativeLibrary.java:59)
at com.formdev.flatlaf.ui.FlatWindowsNativeWindowBorder.getInstance(FlatWindowsNativeWindowBorder.java:113)
at com.formdev.flatlaf.ui.FlatNativeWindowBorder.initialize(FlatNativeWindowBorder.java:274)
at com.formdev.flatlaf.ui.FlatNativeWindowBorder.isSupported(FlatNativeWindowBorder.java:68)
at com.formdev.flatlaf.ui.FlatNativeWindowBorder.install(FlatNativeWindowBorder.java:76)
at com.formdev.flatlaf.ui.FlatRootPaneUI.installNativeWindowBorder(FlatRootPaneUI.java:205)
at com.formdev.flatlaf.ui.FlatRootPaneUI.installUI(FlatRootPaneUI.java:105)
at java.desktop/javax.swing.JComponent.setUI(JComponent.java:730)
at java.desktop/javax.swing.JRootPane.setUI(JRootPane.java:445)
at java.desktop/javax.swing.JRootPane.updateUI(JRootPane.java:455)
at java.desktop/javax.swing.JRootPane.<init>(JRootPane.java:349)
at java.desktop/javax.swing.JWindow.createRootPane(JWindow.java:274)
at java.desktop/javax.swing.JWindow.windowInit(JWindow.java:262)
at java.desktop/javax.swing.JWindow.<init>(JWindow.java:189)
So the question is can I ignore this? There seems to be no DLL available for this platform. Is this planned?
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
Top Results From Across the Web
Download Windows Insider Preview ARM64 - Microsoft
To access this page, you need to be a member of the Windows Insider program. · Account profile · Download Center · Microsoft...
Read more >Microsoft states that x64 emulation is only available on ...
Microsoft explained that x64 emulation for Windows is only generally available in Windows 11. It added that people that want to experience x64 ......
Read more >Introducing x64 emulation in preview for Windows 10 on ARM ...
ARM64 apps are fully supported in our Windows SDK and Visual Studio ... In this preview, you can install x64 apps from the...
Read more >What is Windows on Arm? Everything you need to know
Windows 10 on Arm provides emulation of 32-bit (x86) apps but can't run non-native 64-bit applications. Windows 11 on Arm introduces 64-bit (x86 ......
Read more >Windows on Arm: This is how well 64-bit emulation is working
The state of 64-bit emulation ... The way Windows emulates x86 applications in software on Arm is based on the way it emulates...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have downloaded Windows 10 32-bit in Parallels and you are right. There is no issue with FlatLaf on Windows 32-bit in this virtual machine. I think there is an issue with the other computer and not with FlatLaf. So sorry to bother you.
It was not my own computer, so I cannot check directly. So I will try to find a virtual machine with Windows 10 32-bit. It is not a showstopper as the program continues.