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
Last revisionBoth sides next revision
installation:start [2016/01/13 15:29] abajricinstallation:start [2022/06/17 16:04] – [Installation Instructions (Windows)] ursgraf
Line 1: Line 1:
 ====== Installation Instructions (Windows) ====== ====== Installation Instructions (Windows) ======
   - Install libusb   - Install libusb
-    - Download the current libusb-Binaries from http://libusb.info \\ The current version of LibusbJava supports libusb-1.0.19 [[ftp://ftp.heanet.ie/pub/download.sourceforge.net/pub/sourceforge/l/li/libusb/libusb-1.0/libusb-1.0.19/libusb-1.0.19-rc1-win.7z|Windows Binaries]] [[http://sourceforge.net/projects/libusb/files/libusb-1.0/|Other Releases]]+    - Download the current libusb-Binaries from [[http://libusb.info]] \\ The current version of LibusbJava supports libusb-1.0.19 [[http://sourceforge.net/projects/libusb/files/libusb-1.0/|Other Releases]]
     - Extract downloaded file     - Extract downloaded file
-    - copy the corresponding libusb-1.0.dll (64-bit)  into your System32 directory (C:\Windows\System32)+    - Copy the corresponding libusb-1.0.dll (64-bit)  into your System32 directory (C:\Windows\System32)
   - Install LibusbJava   - Install LibusbJava
-    - 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 [[http://wiki.ntb.ch/infoportal/software/ntb_windows_driver_package|here]]. +    - ​Download latest ​[[https://gitlab.ost.ch/tech/inf/public/libusb-java/uploads/c57ff1a37be8d7ffa1765b7895283731/LibusbJava-1_2_64bit.zip|Binaries]] 
-    - **OR:** Download latest [[http://sourceforge.net/projects/libusbjava/files/libusbjava-snapshots/20150624/LibusbJava-1_1_64bit.zip/download|Binaries]] +    Copy LibusbJava-*.dll to C:\Windows\System32 
-      copy LibusbJava.jar to C:\Windows\Sun\Java\lib\ext +    Copy the MinGW C++ Standard Libraries (libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll) to C:\Windows\System32. If you have already installed MinGW you can omit this step.     
-      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+    - Copy LibusbJava.jar to your favorite directory and import it into your current project. 
 +    - If you are using the LibusbJava together with eclipse, do as follows 
 +      - Up to Java version 8: copy LibusbJava.jar to C:\Windows\Sun\Java\lib\ext 
 +      - For Java version 9 or later, install the plugin ''LibusbJava'' plugin for eclipse from our [[http://update.libusb-java.ch/ | Update Site]].
  
  
-====== Installation Instructions (Ubuntu 14.04 64 bit) ======+ 
 + 
 +====== Installation Instructions (Ubuntu 14.04 and later) ======
   - install libusb and the Java JDK: <code>$ sudo apt-get update   - install libusb and the Java JDK: <code>$ sudo apt-get update
 $ sudo apt-get install libusb-1.0-0-dev openjdk-7-jdk</code> $ sudo apt-get install libusb-1.0-0-dev openjdk-7-jdk</code>
-  - download LibusbJava: http://sourceforge.net/projects/libusbjava/+  - download LibusbJava: \\ https://gitlab.ost.ch/tech/inf/public/libusb-java/uploads/c57ff1a37be8d7ffa1765b7895283731/LibusbJava-1_2_64bit.zip \\ \\
   - 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>
installation/start.txt · Last modified: 2022/06/17 16:05 by ursgraf