I am using NeatBeans IDE5.0 on a Slackware 12 system.
Compile-time Libraries:
jsr80-1.0.1.jar
jsr80_ri-1.0.1.jar
jsr80_linux-1.0.1.jar
*I have the following error when compiling the FindUsbDevice Example
program.
*compile:
run:
Exception in thread "main" java.lang.RuntimeException: Error : Error
while loading shared library libJavaxUsb.so : no JavaxUsb in
java.library.path
at FindUsbDevice.getVirtualRootUsbHub(FindUsbDevice.java:77)
at FindUsbDevice.main(FindUsbDevice.java:29)
Java Result: 1
Changes the original example download.
I did this because I received the following error
symbol : variable ShotTopology
location: class FindUsbDevice
UsbHub virtualRootUsbHub
=ShotTopology.getVirtualRootUsbHub();
parseArgv(argv);
*Changed* UsbHub virtualRootUsbHub =
ShowTopology.getVirtualRootUsbHub(); *to* UsbHub virtualRootUsbHub =
getVirtualRootUsbHub();
List usbDevices = null;
added section from ShowTopology.java
* Get the virtual root UsbHub.
* @return The virtual root UsbHub.
*/
public static UsbHub getVirtualRootUsbHub()
{
.
.
.
return virtualRootUsbHub;
}
What do I need to do to resolve the error?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel