Menu

Eclipse Error Message

Help
2008-03-20
2012-12-06
  • David Zastrau

    David Zastrau - 2008-03-20

    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

     
    • andi

      andi - 2008-03-24

      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

       
    • Sumeet Chakraborty

      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/

       

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.