Read the FAQ. http://javax-usb.org/faq.html#what_is_linux_imp
(you need the common implementation). On Sun, 21 May 2006, ahmad al-ansary wrote: >Hello all, > >I've been struggling and fighting and fighting and .... to get the javax-usb >api to work under linux, I've downloaded the RPMs javax-usb-1.0.1-1.i386.rpm >and javax-usb-ri-linux-1.0.1-1.i386.rpm, and installed them both, then I >downloaded the examples, but every time I try to run the project (one of the >examples), I get the error: > >Error : Properties file javax.usb.properties not found > >I tried to do some troubleshooting, and here is my story: > >First of all I can't import javax.usb, it keeps telling me that "can't find >symbol", I then copied the .jar files to the /jre/lib/ext , and the problem >of "can't find ..." disappeared. > >Then I compiled successfully, but when I attempt to run, I get : > >Exception in thread "main" java.lang.RuntimeException: Error : Properties >file javax.usb.properties not found. > at ShowTopology.getVirtualRootUsbHub(ShowTopology.java:58) > at FindUsbDevice.main(FindUsbDevice.java:30) >I checked the rpm for javax.usb.properties, and I found it. >Referring to the api documentation, it says that every thing will be managed >by the installation of the rpm, i.e, every environment variable and paths >will be set, that is due to the execution of the script that is within the >rpm. I checked the script, and I found it, I tried to run it, I got a >permission denied error, checking the permissions, I found it not >executable, I used chmod 0755 <script-file-name>, then run it, good, that >was successfully done. I tried once again to run the project, I still get >the same error: Properties file javax.usb.properties not found. >I gone mad at this point, once again referering to the documentation, I >found in the FAQ section that is the .properties file should be in the >CLASSPATH, I cheked what is written in the script, and found that the script >is NOT adding the .properties file in the CLASSPATH, I added it manually, >and then made a restart to the OS, once again when trying to run the >project, I get the same error: Properties file javax.usb.properties not >found. What the hell is that????! > >I'm using NetBeans 5.0 under SuSE 10.0 proffessional, in the IDE, I found in >the Tools->Options under Miscellaneous a button to manage the CLASSPATH, I >also added the path to the .jar and the path to .properties, and guess >what?, when I try to run the project, I still get: Properties file >javax.usb.properties not found. "Oh GOD, that is frustrating, isn't it?" > >Please help me, tell me what I've done wrong?. And what is the work around >for this problem, as I'm getting nuts by this. >Thanx alot, and forgive me for being long, but I wanted to describe the case >exactly, as I couldn't find any solution on the web. >Once again thanx in advance. > >ahmad al-ansary,,, > > > > >------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >javax-usb-devel mailing list >javax-usb-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/javax-usb-devel > -- Dan Streetman [EMAIL PROTECTED] --------------------- 186,272 miles per second: It isn't just a good idea, it's the law! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel