On Windows, dynamic libraries fail to load when users have non-ascii characters in their usernames. I looked into it and found the root cause. It appears System.load() does not accept non-ascii characters in the path. It appears to be a known issue: https://bugs.openjdk.java.net/browse/JDK-8195129
I've implemented a workaround by parametrizing the DLL path instead of defaulting to their home directory.
On Windows, dynamic libraries fail to load when users have non-ascii characters in their usernames. I looked into it and found the root cause. It appears
System.load()
does not accept non-ascii characters in the path. It appears to be a known issue: https://bugs.openjdk.java.net/browse/JDK-8195129I've implemented a workaround by parametrizing the DLL path instead of defaulting to their home directory.