Giter Club home page Giter Club logo

Comments (5)

andyrozman avatar andyrozman commented on September 4, 2024

This will not work. You need at least 4.1 version of JNA. JNA 3.5.1 doesn't automatically load natives, 4.1 does. You will have to upgrade your local JNA to at least 4.1.0 (this one works good). Are you limited with Java version too? You need to have at least Java 6 to run this.

from hid4java.

AbbottWC avatar AbbottWC commented on September 4, 2024

Okay thanks. There's one problem though - another project I'm using (LibVLC Java) requires JNA 3.5.2. I don't think that it's possible to run both, is it?

EDIT : I've made the same attempt with JNA 4.1.0 - Same Issue : (Also; Running on Java 1.8_45)

Exception in thread "main" org.hid4java.HidException: Hidapi did not initialise: Unable to load library 'hidapi': Native library (win32-x86/hidapi.dll) not found in resource path ([file:/C:/Users/Will/Documents/NetBeansProjects/Libraries/jna-4.1.0.jar, file:/C:/Users/Will/Documents/NetBeansProjects/Libraries/jna-platform-4.1.0.jar

from hid4java.

AbbottWC avatar AbbottWC commented on September 4, 2024

One other thing - I do not know if it matters, but I'm developing with the Netbeans IDE.

from hid4java.

AbbottWC avatar AbbottWC commented on September 4, 2024

Okay I goofed... I downloaded the entire project as a .zip file and tried to make it work as a Java project instead of... whatever it is.

I've never worked with... whatever this is, but when I tried to debug it as is (straight out of the .zip), it worked fine... so I'm sorry for taking your time.

from hid4java.

gary-rowe avatar gary-rowe commented on September 4, 2024

Hi @AbbottWC. The hid4java project is a Maven project which is how many Java projects are created these days. There's more information in the wiki that may help you become more familiar with the process.

from hid4java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.