Please don't email off-list. did you complie the native library yourself? Or are you using a precompiled one? Do you have a 64-bit system or 32-bit system?
On Tue, Apr 28, 2009 at 10:58 AM, Woo, Ed <e...@issltd.com> wrote: > Hi Dan, > > I do have the .so library in /usr/lib and the /etc/ld.so.conf file points to > the /usr/lib directory. I reloaded ldconfig. > Javax.usb.properties is in my classpath as well. > I've tried with the LD_LIBRARY_PATH environment pointing to the /usr/lib as > well. > > I still get the same errors. > I notice others are having the same errors in forum, without solution. > Am I configuring incorrectly. Somewhat newbie with linux/ubuntu. > Thanks very much > ed > > > -----Original Message----- > From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan > Streetman > Sent: Tuesday, April 28, 2009 9:41 AM > To: Woo, Ed > Cc: javax-usb-devel@lists.sourceforge.net > Subject: Re: [javax-usb-devel] UsbException > > I believe that means it can't find your native library (libJavaxUsb.so). > > On Mon, Apr 27, 2009 at 2:29 PM, Woo, Ed <e...@issltd.com> wrote: >> Hello, >> >> >> >> I get the following error when I try to call the >> UsbHostManager.getUsbServices()…. >> >> >> >> [stderr] java.lang.UnsatisfiedLinkError: >> com.ibm.jusb.os.linux.JavaxUsb.nativeSetTraceOutput(ILjava/lang/String;)V >> >> [stderr] at >> com.ibm.jusb.os.linux.JavaxUsb.nativeSetTraceOutput(Native Method) >> >> [stderr] at >> com.ibm.jusb.os.linux.LinuxUsbServices.checkProperties(Unknown Source) >> >> [stderr] at com.ibm.jusb.os.linux.LinuxUsbServices.<init>(Unknown >> Source) >> >> [stderr] at >> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >> >> [stderr] at >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) >> >> [stderr] at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) >> >> [stderr] at >> java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> >> [stderr] at java.lang.Class.newInstance0(Class.java:355) >> >> [stderr] at java.lang.Class.newInstance(Class.java:308) >> >> [stderr] at javax.usb.UsbHostManager.createUsbServices(Unknown >> Source) >> >> [stderr] at javax.usb.UsbHostManager.getUsbServices(Unknown Source) >> >> >> >> . >> >> . >> >> . >> >> . >> >> >> >> Can someone help or explain. I’m running on ubuntu 8.10 with the necessary >> javax.xxx jar files in classpath and .so file. >> >> >> >> Thanks >> >> ed >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensign option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> javax-usb-devel mailing list >> javax-usb-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/javax-usb-devel >> >> > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel