New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chinese characters in path to java.exe caused "Unable to load native library" error #1496
Comments
@himawari-san Can you try the 11.0.6 from adoptopenjdk.net/upstream.html please? |
@karianna I got the same error. |
I think it is a bug in upstream. I confirmed this issue on current jdk/jdk source. It would occur on any path which contains CJK character(s). I can fix it with the patch as below, so I want to send review request for hotspot-runtime-dev in OpenJDK. Have you ever worked for it to OpenJDK community? If not so, I will file it to JBS.
|
@YaSuenag No, I haven't. I appreciated your help. |
I reported this issue to JBS, and sent review request to hotspot-runtime-dev. https://bugs.openjdk.java.net/browse/JDK-8240197 |
@YaSuenag thank you for your contribution! |
I fixed this issue in jdk/jdk, and also backported to jdk/jdk11u-dev. It will be shipped in 11.0.8 . I guess you can use AdoptOpenJDK 11 on CJK path since 11.0.8 . |
Platform &:Architecture:
Windows10.0.18362
OpenJDK11U-jre_x64_windows_hotspot_11.0.6_10.zip
OpenJDK11U-jre_x86-32_windows_hotspot_11.0.6_10.zip
Steps to reproduce the issue:
jdk-11.0.5+10-jre didn't caused the error.
Thanks for your binaries.
The text was updated successfully, but these errors were encountered: