i'm using the javax.usb-package to build a program to communicate with some USB-device.
I develop under Eclipse and my OS is Win32 XP.
i get an error-message, that i cannot interprete, it's:
Exception in thread "main" java.lang.RuntimeException: Error : Error while loading shared library LibusbJNI.dll : C:\Documents and Settings\David Zastrau.UNI-5ECC93A43B2\workspace\JSR80\lib\LibusbJNI.dll: %1 is not a valid Win32 application
Does that mean, that i've got the wrong driver-version?
Greetings,
informat
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Make sure that if u have the USBJNI.dll in the Java Library Path (C:\Program Files\Java\jre1.6.0\bin) then make sure that you rename the USBJNI.dll to LibusbJNI.dll. Also make sure that you download the latest dll file i.e. USBJNI.dll from the following URL http://javax-usb.cvs.sourceforge.net/viewvc/javax-usb/javax-usb-libusb/lib/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo,
i'm using the javax.usb-package to build a program to communicate with some USB-device.
I develop under Eclipse and my OS is Win32 XP.
i get an error-message, that i cannot interprete, it's:
Exception in thread "main" java.lang.RuntimeException: Error : Error while loading shared library LibusbJNI.dll : C:\Documents and Settings\David Zastrau.UNI-5ECC93A43B2\workspace\JSR80\lib\LibusbJNI.dll: %1 is not a valid Win32 application
Does that mean, that i've got the wrong driver-version?
Greetings,
informat
Hi
The dll you are using is not from this project. It is from the javax.usb project. You may find the help you need at http://sourceforge.net/projects/javax-usb
Regards, Spandi
Hey Make sure that if u have the USBJNI.dll in the Java Library Path (C:\Program Files\Java\jre1.6.0\bin) then make sure that you rename the USBJNI.dll to LibusbJNI.dll. Also make sure that you download the latest dll file i.e. USBJNI.dll from the following URL
http://javax-usb.cvs.sourceforge.net/viewvc/javax-usb/javax-usb-libusb/lib/