Hm, it may be a bug in Sun' JVM, but why does it load other native libs such as libjogl.so well. The libJavaxUsb.so is located in the same directory, but it doesn't load until I set the LD_LIBRARY_PATH.
Another point I've noticed not until today is that the usb devices only appear if I start com.ibm.jusb.tools.UsbView as a super user. On the other hand, the native usbview shipped with linux works with default user rights.. Best regards -Michael Nischt Dan Streetman wrote: >LD_LIBRARY_PATH vs. ld.so.conf has nothing to do with javax.usb. The >native library is loaded with the standard System.loadLibrary() call (see >com/ibm/jusb/os/linux/JavaxUsb.java). IBM's JVM includes /usr/lib in the >java.library.path; I don't know if Sun's JVM does (if it doesn't, I >consider that a bug with Sun's JVM). As long as you put the library >somewhere that the JVM will load it javax.usb will work. > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel