0% found this document useful (0 votes)
48 views1 page

7 User Installation: 7.1 Resources Javausb - Zip

The document describes the installation process for the Java USB API on Windows systems. It involves downloading the JavaUSB.ZIP file containing the jUSB DLL and driver binaries. The jUSB DLL needs to be copied to the Windows system32 folder and the jUSB driver needs to be registered in the Windows registry by running the jusb.reg file. Finally, the jUSB driver file needs to be copied to the system32/drivers folder. The document provides instructions for testing that the driver is installed properly by connecting a USB mouse and checking that its VID and PID are detected.

Uploaded by

Imran Ud Din
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views1 page

7 User Installation: 7.1 Resources Javausb - Zip

The document describes the installation process for the Java USB API on Windows systems. It involves downloading the JavaUSB.ZIP file containing the jUSB DLL and driver binaries. The jUSB DLL needs to be copied to the Windows system32 folder and the jUSB driver needs to be registered in the Windows registry by running the jusb.reg file. Finally, the jUSB driver file needs to be copied to the system32/drivers folder. The document provides instructions for testing that the driver is installed properly by connecting a USB mouse and checking that its VID and PID are detected.

Uploaded by

Imran Ud Din
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Java USB API for Windows

7 User Installation
This section describes the installation of the Java USB API for Windows for end users.

7.1

Resources

JavaUSB.ZIP The Java USB API includes the binaries of the jUSB DLL and the jUSB driver. JavaUSB.ZIP can be downloaded from http://www.steelbrothers.ch/jusb/. Be sure to download the Java USB resources for end users which is called JavaUSB.ZIP Netbeans IDE Is a full-featured integrated environment for Java Developers [21]. We used Netbeans to develp the Java side of the Java USB API. Netbeans is freely available on http://www.netbeans.org. Of course any other environment with a Java compiler can be used to extend or run the Java USB API.

7.2

Installation of the jUSB Driver and jUSB DLL

jUSB DLL Copy the jusb.dll from the folder \InstallationFiles\JusbDll to the \system32 folder of your Windows directory. Compile the usb.windows package in Netbeans. Attach a USB device to the USB and run RunUSBControllerTest. jUSB Driver First, we have to register the JUSB driver in the Windows registry. Therefore, we need to double click on the jusb.reg file which is located in the \InstallationFiles\JusbDriver folder. A Window will pop up asking if we are sure to add the information of jusb.reg to the registry. After clicking on yes, a confirmation will be displayed and the information will be added to the registry. This process of registering the jUSB driver has to be executed only once. After the jUSB driver has been registered, we have to copy the jusb.sys file (the driver) to the \system32\drivers folder of the Windows directory. jUSB driver test The following procedure can be used to test the driver: 1. Connect an USB mouse to the USB port. 2. Run RunUSBControllerTest and note down the VID and PID which is displayed out, next to the uniqueID. 3. Download Debug View v4.21 from http:/www.sysinternals.com/ntw2k/utilities.shtm and start the debugger. This is only for controlling purposes. 4. Change the registry entries as described in Appendix D. 5. Disconnect the USB mouse and connect it again. 6. The debugger should display some information. This information are generated by the jUSB driver

Michael Stahl

42

You might also like