Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Java libraries needed for setting up HID dev

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    16

    Java libraries needed for setting up HID dev

    I am trying to write a small app that will interface with the Teensy board. I am working in Java using Eclipse. Anyway I have spent the last few days trying to figure out how to configure my environment with the appropriate "native library". I have downloaded the hidapi-0.7.0.zip https://github.com/signal11/hidapi/downloads also the files from http://code.google.com/p/javahidapi/downloads/list (they are "wrappers" to the native library. Anyway I am totally out of my league when it comes to installing these on my Mac OS X Lion 10.7.5 MacBook. I have read and re-read the sparse documentation and can not figure out what to put where, or how to "build" things if necessary, etc.

    Does anybody on here have a similar environment and can help me out.
    Thanks,
    George

  2. #2
    Junior Member
    Join Date
    Dec 2012
    Posts
    16
    OK, finally got it to work. I was able to find a file called libhidapi-jni-64.jnlib from http://code.google.com/p/javadrone/s...0a9855e045a75e I needed to change the name, just drop the "-64" put it into my java library path "/Library/Java/Extensions" along with a previously obtained hidapi-1.1.jar and I was good to go. I'm assuming you could build your own libhidapi-ini.jnlib with the other code I was able to obtain but I never figured out how to do that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •