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

JNA can't find dependent libraries #413

tresf opened this Issue Feb 9, 2019 · 1 comment


None yet
1 participant
Copy link

tresf commented Feb 9, 2019

Using OpenJDK11 from on Windows, the "About" dialog raises the following error:

Exception in thread "DeviceRemovalHandler" java.lang.UnsatisfiedLinkError: C:\Users\owner\AppData\Local\Temp\jna-106164915\jna1221906576012913996.dll: Can't find dependent libraries
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(
        at java.base/java.lang.ClassLoader.loadLibrary0(
        at java.base/java.lang.ClassLoader.loadLibrary(
        at java.base/java.lang.Runtime.load0(
        at java.base/java.lang.System.load(
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(
        at com.sun.jna.Native.loadNativeDispatchLibrary(
        at com.sun.jna.Native.<clinit>(
        at java.base/

I found an identical backtrace here which suggests updating JNA will fix it: MarkusBernhardt/proxy-vole#35

@tresf tresf added the bug label Feb 9, 2019

@tresf tresf added this to the 2.0.9 milestone Feb 9, 2019


This comment has been minimized.

Copy link
Contributor Author

tresf commented Mar 1, 2019

Impact to bumping JNA:

  • jssc's dot NOT use JNA
  • usb4java does NOT use JNA
  • ⚠️hid4java DOES use JNA
  • ⚠️purjavahidapi DOES use JNA

@tresf tresf referenced this issue Mar 1, 2019


Bump JNA #427

@tresf tresf closed this in #427 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.