LibusbJava

libusb for Java

User Tools

Site Tools


installation:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
installation:start [2016/01/05 12:54] abajricinstallation:start [2016/01/13 15:29] abajric
Line 12: Line 12:
  
 ====== Installation Instructions (Ubuntu 14.04 64 bit) ====== ====== Installation Instructions (Ubuntu 14.04 64 bit) ======
-  - install libusb and the Java JDK: <code>$ sudo apt-get install libusb-1.0-0-dev openjdk-7-jdk</code>+  - install libusb and the Java JDK: <code>$ sudo apt-get update 
 +$ sudo apt-get install libusb-1.0-0-dev openjdk-7-jdk</code>
   - download LibusbJava: http://sourceforge.net/projects/libusbjava/   - download LibusbJava: http://sourceforge.net/projects/libusbjava/
   - extract the archive and copy the file //libLibusbJava-1_1.so// to ///usr/lib//: <code>$ sudo cp libLibusbJava-1_1.so /usr/lib/</code>   - extract the archive and copy the file //libLibusbJava-1_1.so// to ///usr/lib//: <code>$ sudo cp libLibusbJava-1_1.so /usr/lib/</code>
   - copy the file //LibusbJava.jar// to ///usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext///: <code>$ sudo cp LibusbJava.jar /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/</code>   - copy the file //LibusbJava.jar// to ///usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext///: <code>$ sudo cp LibusbJava.jar /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/</code>
 +  - create the file ///etc/udev/rules.d/50-bdi.rules// and write the following content to it: <code>
 +SUBSYSTEM=="usb", GROUP="plugdev", ATTRS{idVendor}=="8235", ATTRS{idProduct}=="0100"
 +</code>
 +  - reload the udev rules: <code>$ sudo udevadm control --reload-rules</code>
installation/start.txt · Last modified: 2022/06/17 16:05 by ursgraf