Skip to content
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

HID on Windows 10 + Oracle JDK 11 #424

Closed
klabarge opened this Issue Mar 1, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@klabarge
Copy link
Contributor

klabarge commented Mar 1, 2019

I get the same "JNA Cannot find dependent libraries" error as bug report #413 when trying to list HID devices on Windows 10 + Java 11.

I installed JDK 11 from Oracle's website.

C:\Users\IEUser>java -version
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
Exception in thread "DeviceRemovalHandler" java.lang.UnsatisfiedLinkError: C:\Users\IEUser\AppData\Local\Temp\jna--2138670329\jna9784430788779113981.dll: Can't find dependent libraries
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430)
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2617)
        at java.base/java.lang.Runtime.load0(Runtime.java:767)
        at java.base/java.lang.System.load(System.java:1831)
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851)
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826)
        at com.sun.jna.Native.<clinit>(Native.java:140)
        at purejavahidapi.windows.Kernel32Library.<clinit>(Kernel32Library.java:43)
        at purejavahidapi.windows.DeviceRemovalHandler$1.run(DeviceRemovalHandler.java:54)
        at java.base/java.lang.Thread.run(Thread.java:834)

@tresf tresf referenced this issue Mar 1, 2019

Merged

Bump JNA #427

@tresf

This comment has been minimized.

Copy link
Contributor

tresf commented Mar 1, 2019

Closed via 217f9da.

@tresf tresf closed this Mar 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.