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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 :/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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 :/
Ok nevermind, I just joined my dll file on the project and now it work.
Thanks !!