Menu

How to install this on win 7 - eclipse

Help
p3g4s3
2012-08-13
2012-12-06
  • p3g4s3

    p3g4s3 - 2012-08-13

    Hey everyone !!
    I have some trouble installing this libjava on my computer.
    Is there anyone who can help me install it on windows 7 64bits / eclipse jre/jdk7

    Thanks,
    Regards
    Mat

     
  • uniederer

    uniederer - 2012-08-14

    Hi Mat

    Could you be a bit more specific what troubles you have installing libusbJava? What steps do you take, what are the results?

    Regards
    Ueli

     
  • p3g4s3

    p3g4s3 - 2012-08-16

    Hello !

    Well, I tried to install LibUSB.
    I added as external Jar "ch.ntb.usb-0.5.9.jar" and followed this example :
    http://libusbjava.sourceforge.net/wp/res/demos/ReadWrite.java.html
    Then I have this problem : Exception in thread "main" java.lang.UnsatisfiedLinkError: no LibusbJava in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at ch.ntb.usb.LibusbJava.<clinit>(LibusbJava.java:364)
    at ch.ntb.usb.USB.init(USB.java:315)
    at ch.ntb.usb.USB.getBus(USB.java:296)
    at ch.ntb.usb.Device.initDevice(Device.java:102)
    at ch.ntb.usb.Device.open(Device.java:222)
    at ch.ntb.usb.demo.ReadWrite.main(ReadWrite.java:43)

    I tried to do : C:\Users\Mat>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Djava.library.path=. -jar C:\ch.ntb.usb-0.5.9.jar
    But same error.
    I put all .dll in good files and .sys too.

    So I don't know if I did something wrong or not :/

     
  • p3g4s3

    p3g4s3 - 2012-08-18

    Ok nevermind, I just joined my dll file on the project and now it work.

    Thanks !!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.