-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Missing msvcp120.dll in bin folder - JDK x64 Windows 8u212-b03 #1091
Comments
P.S. in the 8u202 this DLL isn't required |
Another workaround is to add jre/bin to the PATH. |
I have the same issue with OpenJDK8U-jdk_x64_windows_hotspot_8u222b10 |
I have the same issue with OpenJDK8U-jdk_x64_windows_hotspot_8u232b09 |
I have also noticed this issue crop up with the java dll search path. If you run
I think this is closer to the root cause because i believe this |
Platform:
Windows Server 2012R2
Architecture:
OpenJDK8U-jdk_x64_windows_hotspot_8u212b03
In the OpenJDK8U-jdk_x64_windows_hotspot_8u212b03 build, the awt.dll is linked to msvcp120.dll (a DLL from Microsoft Visual C++ 2013 x64).
This DLL is located on %ProgramFiles%\AdoptOpenJDK\jdk-8.0.212.03-hotspot\jre\bin.
In the default setup AdoptOpenJDK it adds the JDK's bin (%ProgramFiles%\AdoptOpenJDK\jdk-8.0.212.03-hotspot\bin) folder to the PATH env var, but not the jre\bin folder.
So I end up with this error message :
java.lang.UnsatisfiedLinkError: C:\Program Files\AdoptOpenJDK\jdk-8.0.212.03-hotspot\jre\bin\awt.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at java.awt.Toolkit$3.run(Toolkit.java:1636)
at java.awt.Toolkit$3.run(Toolkit.java:1634)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
at java.awt.Toolkit.(Toolkit.java:1670)
at sun.awt.Win32GraphicsEnvironment.(Win32GraphicsEnvironment.java:66)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
at com.hardis.adelia.cloud.tools.AdeliaFontMapping.(AdeliaFontMapping.java:30)
The workaround is to copy %ProgramFiles%\AdoptOpenJDK\jdk-8.0.212.03-hotspot\jre\bin\msvcp120.dll to %ProgramFiles%\AdoptOpenJDK\jdk-8.0.212.03-hotspot\bin
The text was updated successfully, but these errors were encountered: