LibusbJava

libusb for Java

User Tools

Site Tools


installation:start

This is an old revision of the document!


Installation Instructions (Windows)

  1. Install libusb
    1. Download the current libusb-Binaries from http://libusb.info
      The current version of LibusbJava supports libusb-1.0.19 Windows Binaries Other Releases
    2. Extract downloaded file
    3. copy the corresponding libusb-1.0.dll (64-bit) into your System32 directory (C:\Windows\System32)
  2. Install LibusbJava
    1. If you like to use LibusbJava with the USB BDI for the MPC555 or a Atmel AT90USB1287, you may also download the NTB Windows Driver Package. It includes the necessary .inf-Files for WinUSB for this two types of Hardware and LibusbJava. More information can be found here.
    2. OR: Download latest Binaries
      1. copy LibusbJava.jar to C:\Windows\Sun\Java\lib\ext
      2. copy LibusbJava-1_1.dll and the MinGW C++ Standard Libraries (libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll) to C:\Windows\System32

Installation Instructions (Ubuntu 14.04 64 bit)

  1. install libusb:
    $ sudo apt-get install libusb-1.0-0-dev
  2. extract the archive and copy the file libLibusbJava-1_1.so to /usr/lib:
    $ sudo cp libLibusbJava-1_1.so /usr/lib/
  3. copy the file LibusbJava.jar to /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/:
    $ sudo cp LibusbJava.jar /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/
installation/start.1451994677.txt.gz · Last modified: 2016/02/25 13:33 (external edit)