Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

System.load fails to load on Windows if path contains non-ascii characters #29

Open
d6e opened this issue Jan 28, 2019 · 0 comments
Open

Comments

@d6e
Copy link

d6e commented Jan 28, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant