Please copy the mailing list on all communication. You downloaded the properties file but java still can't find it? What does "echo $CLASSPATH" show? What directory is the properties file in? Where did you get the properties file? What is the contents of the properties file?
Thanks. On Wed, Feb 13, 2008 at 7:41 PM, java4me <[EMAIL PROTECTED]> wrote: > Dan, > > Thank you for the quick response. I have resolved one issue and now have > another. > > Exception in thread "main" java.lang.RuntimeException: Error : Properties > file javax.usb.properties not found. > > > at FindUsbDevice.getVirtualRootUsbHub(FindUsbDevice.java:77) > > at FindUsbDevice.main(FindUsbDevice.java:29) > > Some of the things I have done. > > From JSR80 FAQ > > You must add that directory to your CLASSPATH. If you > installed the javax-usb-ri-linux RPM, the file is located at > //opt/javax-usb/etc/javax.usb.properties/ and is (or should be) > automatically added to your CLASSPATH for you by a shell initialization file > located in //etc/profile.d//. > > I used the RPM. The file is located at > //opt/javax-usb/etc/javax.usb.properties/ > I have verified that the file is in the CLASSPATH. I have verified that it > contains javax.usb.services. > > From JSR80 FAQ > > I'm getting the error "Properties file javax.usb.properties not found.", > where can I get this file? > > You need a javax.usb implementation; the file is provided by all > javax.usb implementations. > > I assume by javax.usb implementation this means the JSR80-1.0.1.jar? > > What else should I try? > > Info. > From FAQ JSR80 Web Page > You can view the latest CVS copy of the file here > <http://cvs.sourceforge.net/viewcvs.py/javax-usb/javax-usb-ri-linux/lib/javax.usb.properties?view=markup>. > Link did not work. > > Thanks Again for the help. > > > > > Dan Streetman wrote: > > > Um, so your problem is it can't find the native JavaxUsb library? You > > need to download it (libJavaxUsb.so) and put it in your ld loader's > > path. Either in /lib, /usr/lib, or somewhere that is in your > > LD_LIBRARY_PATH. > > > > On Feb 7, 2008 7:32 PM, java4me <[EMAIL PROTECTED]> wrote: > > > >> 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 > >> javax-usb-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/javax-usb-devel > >> > >> > > > > > > ------------------------------------------------------------------------- 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 javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel