Following your reply I checked my jsr80-windows.jar and it turns out the WindowsUsbServices is in com.mcreations.usb.windows. So I changed my properties file and now I get this error:
I looked on the net and it seems like many people get similar errors with jsr80 and no one was able to go through and get this to work. But I may be missing something. Hopefully I'm missing something.. Any suggestions?
Thanks,
Eddy
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35249
7
posted
0
If all you did for installation was to add the 2 jar files to your classpath, then yes - something is bound to be missing. Any low-level I/O library will require a native library. You should be able to get that somewhere around here: http://sourceforge.net/apps/trac/libusb-win32/wiki
Thanks Ulf, after much crap of moving dll's around -- using the code from link you gave in the previous message -- it's working for me. The last step was to change the name of usbJava.dll to LibusbJava.dll and install it in C:\Windows\system32. I figured it out only once the runtime complained it can't read from LibusbJava.dll.
eddy johns wrote:Thanks Ulf, after much crap of moving dll's around -- using the code from link you gave in the previous message -- it's working for me. The last step was to change the name of usbJava.dll to LibusbJava.dll and install it in C:\Windows\system32. I figured it out only once the runtime complained it can't read from LibusbJava.dll.
Please EaseUp. There's no such thing as urgent around here. And no, I cannot help you, as I haven't worked with the combination of Java and USB before.
Amol Bhanushali
Greenhorn
Joined: Nov 01, 2011
Posts: 3
posted
0
Rob Spoor wrote:Please EaseUp. There's no such thing as urgent around here. And no, I cannot help you, as I haven't worked with the combination of Java and USB before.
Sorry Rob Spoor,
But I am searching this for almost last 1 week and i have downloaded all the library which eddy johns mentioned. and run the code also. Talked with many of my freind, but suddenly today i found my path to the solution on this blog so i thought it might help me to give us right direction for further procedure. we dont want the complete code as we will manage to do so but as we are new to this and there is less help available specially for java with USB so i thought let us try to put some effort here and get the right path to walk on. this is also from past history that we have found many small things working for us from this blog specially for java collections.
hope i satisfied to your comment. as some time communication barrier creates lots diffrence in understanding each ohter.
thanks for the reply. i still hope will get the answers from this blog.
thank you once again
There's no problem at all with your request. You have a valid problem, and asking for sample code or directions is just fine. If I could have provided any I would have gladly given it to you.
I also understand that you may need an answer as soon as possible, but the FAQ entry that the EaseUp words link to explains why we prefer that you simply don't mention that.
Steve Thomas
Greenhorn
Joined: Feb 20, 2012
Posts: 1
posted
0
eddy johns wrote:Thanks Ulf, after much crap of moving dll's around -- using the code from link you gave in the previous message -- it's working for me. The last step was to change the name of usbJava.dll to LibusbJava.dll and install it in C:\Windows\system32. I figured it out only once the runtime complained it can't read from LibusbJava.dll.
I have only just found this comment about renaming the usbJava.dll file (although I havn't tried it) but if it worksit would have save me a pile of trouble too.