Hello
I am new in java usb communication .I am using jdk1.6.0 ane NetBeans IDE 6.8 on Windows7.
I attached javax.usb package and following jar fils to NetBeens.
1)jsr80.jar
2)jsr80_ri.jar
3)jsr80_windows .jar
4)log4j.jar
5)commons-logging.jar
I compile and run a sample program ShowToplogy.jav a. and got following error--
log4j:WARN No appenders could be found for logger (com.mcreations .usb.windows.Ja vaxUsb).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.Runti meException: Error : Error while loading shared library <LibusbJNI.dl l> :
no LibusbJNI in java.library.pa th
at usbproj.ShowTop ology.getVirtua lRootUsbHub(Sho wTopology.java: 58)
at usbproj.ShowTop ology.main(Show Topology.java:2 5)
Java Result: 1
Please send me some solution.
thanks.
I am new in java usb communication .I am using jdk1.6.0 ane NetBeans IDE 6.8 on Windows7.
I attached javax.usb package and following jar fils to NetBeens.
1)jsr80.jar
2)jsr80_ri.jar
3)jsr80_windows .jar
4)log4j.jar
5)commons-logging.jar
I compile and run a sample program ShowToplogy.jav a. and got following error--
log4j:WARN No appenders could be found for logger (com.mcreations .usb.windows.Ja vaxUsb).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.Runti meException: Error : Error while loading shared library <LibusbJNI.dl l> :
no LibusbJNI in java.library.pa th
at usbproj.ShowTop ology.getVirtua lRootUsbHub(Sho wTopology.java: 58)
at usbproj.ShowTop ology.main(Show Topology.java:2 5)
Java Result: 1
Please send me some solution.
thanks.