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
installation:start [2019/09/17 09:34] sfinkinstallation:start [2022/06/17 16:05] (current) – [Installation Instructions (Windows)] ursgraf
Line 1: Line 1:
 ====== Installation Instructions (Windows) ====== ====== Installation Instructions (Windows) ======
   - Install libusb   - Install libusb
-    - Download the current libusb-Binaries from [[https://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.19/|http://libusb.info]] \\ The current version of LibusbJava supports libusb-1.0.19 [[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.
     - 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
-     - Download latest [[http://sourceforge.net/projects/libusbjava/files/libusbjava-snapshots/20150624/LibusbJava-1_1_64bit.zip/download|Binaries]] +    Download latest [[https://gitlab.ost.ch/tech/inf/public/libusb-java/uploads/c57ff1a37be8d7ffa1765b7895283731/LibusbJava-1_2_64bit.zip|Binaries]] 
-      If you are using Java version 9 or later, install the ''LibusbJava plugin for eclipse'' described [[http://deepjava.org/getting_started|here]]Else copy LibusbJava.jar to C:\Windows\Sun\Java\lib\ext +    Copy LibusbJava-*.dll to C:\Windows\System32 
-      - Copy LibusbJava-*.dll and the MinGW C++ Standard Libraries (libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll) to C:\Windows\System32 +    - 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.     
-    - If you like to use LibusbJava with the USB BDI for the MPC555 or a Atmel AT90USB1287you 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/start|here]].+    - Copy LibusbJava.jar to your favorite directory and import it into your current project. 
 +    - If you are using the LibusbJava together with eclipsedo 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.1568705674.txt.gz · Last modified: 2019/09/17 09:34 by sfink