org.hid4java.HidException: Hidapi did not initialise: Unable to load library 'hidapi': Native library (win32-x86-64/hidap i.dll) not found in resource path ([file:/C:/Users/r12528/Desktop/iMX_Boot_Utili ty.jar])

Coderanch | Brett Phagan | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Trying to determine best program structure

    Coderanch | 6 months ago | Brett Phagan
    org.hid4java.HidException: Hidapi did not initialise: Unable to load library 'hidapi': Native library (win32-x86-64/hidap i.dll) not found in resource path ([file:/C:/Users/r12528/Desktop/iMX_Boot_Utili ty.jar])
  2. 0

    Creating Runnable jar file

    GitHub | 6 months ago | bphagan
    org.hid4java.HidException: Hidapi did not initialise: Unable to load library 'hidapi': Native library (win32-x86-64/hidap i.dll) not found in resource path ([file:/C:/Users/r12528/Desktop/iMX_Boot_Utili ty.jar])

    Root Cause Analysis

    1. org.hid4java.HidException

      Hidapi did not initialise: Unable to load library 'hidapi': Native library (win32-x86-64/hidap i.dll) not found in resource path ([file:/C:/Users/r12528/Desktop/iMX_Boot_Utili ty.jar])

      at org.hid4java.HidDeviceManager.<init>()
    2. org.hid4java
      HidManager.getHidServices
      1. org.hid4java.HidDeviceManager.<init>(HidDeviceManager.java:89)
      2. org.hid4java.HidServices.<init>(HidServices.java:88)
      3. org.hid4java.HidServices.<init>(HidServices.java:76)
      4. org.hid4java.HidServices.<init>(HidServices.java:63)
      5. org.hid4java.HidManager.getHidServices(HidManager.java:50)
      5 frames
    3. mxUSB
      MXBootTool$1.run
      1. mxUSB.MXConnectUSB.<init>(MXConnectUSB.java:57)
      2. mxUSB.MXBootTool.createAndShowGUI(MXBootTool.java:92)
      3. mxUSB.MXBootTool$1.run(MXBootTool.java:85)
      3 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      3. java.awt.EventQueue.access$500(Unknown Source)
      4. java.awt.EventQueue$3.run(Unknown Source)
      5. java.awt.EventQueue$3.run(Unknown Source)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      8. java.awt.EventQueue.dispatchEvent(Unknown Source)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      12. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      13. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      14. java.awt.EventDispatchThread.run(Unknown Source)
      14 frames