Are you sure it's in your CLASSPATH? What is the contents of the file (i.e. are you using the one provided by the Linux implementation)?
Try running java with -verbose and attach the output. On Tue, 30 May 2006, ahmad al-ansary wrote: > >Dear Sir, >The problem is that I still get the error message: > >Error : Properties file javax.usb.properties not found > >It seems that this file is not visible. >Thanx in advance. > >>From: [EMAIL PROTECTED] >>Reply-To: javax-usb-devel@lists.sourceforge.net >>To: javax-usb-devel@lists.sourceforge.net >>Subject: javax-usb-devel digest, Vol 1 #356 - 2 msgs >>Date: Mon, 29 May 2006 20:26:25 -0700 >> >>Send javax-usb-devel mailing list submissions to >> javax-usb-devel@lists.sourceforge.net >> >>To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.sourceforge.net/lists/listinfo/javax-usb-devel >>or, via email, send a message with subject or body 'help' to >> [EMAIL PROTECTED] >> >>You can reach the person managing the list at >> [EMAIL PROTECTED] >> >>When replying, please edit your Subject line so it is more specific >>than "Re: Contents of javax-usb-devel digest..." >> >> >>Today's Topics: >> >> 1. Re: HELP: Error : Properties file javax.usb.properties >> not found! (Dan Streetman) >> >>--__--__-- >> >>Message: 1 >>Date: Mon, 29 May 2006 11:46:03 -0400 (EDT) >>From: Dan Streetman <[EMAIL PROTECTED]> >>Reply-To: [EMAIL PROTECTED] >>To: ahmad al-ansary <[EMAIL PROTECTED]> >>cc: javax-usb-devel@lists.sourceforge.net >>Subject: Re: [javax-usb-devel] HELP: Error : Properties file >>javax.usb.properties >> not found! >> >> >>Well you mentioned several problems in your first email. What problem >>exactly are you having now? >> >> >>On Sat, 27 May 2006, ahmad al-ansary wrote: >> >> > >> >Please I still get the same error, even after installing the common >>implementation. >> > >> >Sorry for bothering you, but I really need to overcome this problem. >> > >> >HELP HELP HELP !!! >> > >> >__________________________________________________________________________________________________________________________________________________________________________ >> >From: Dan Streetman <[EMAIL PROTECTED]> >> >Reply-To: [EMAIL PROTECTED] >> >To: ahmad al-ansary <[EMAIL PROTECTED]> >> >CC: javax-usb-devel@lists.sourceforge.net >> >Subject: Re: [javax-usb-devel] HELP: Error : Properties file >>javax.usb.properties not found! >> >Date: Mon, 22 May 2006 10:25:10 -0400 (EDT) >> >> >> >>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! >> > >> > >> > >> >>-- >>Dan Streetman >>[EMAIL PROTECTED] >>--------------------- >>186,272 miles per second: >>It isn't just a good idea, it's the law! >> >> >> >>--__--__-- >> >>_______________________________________________ >>javax-usb-devel mailing list >>javax-usb-devel@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/javax-usb-devel >> >> >>End of javax-usb-devel Digest > > > > >------------------------------------------------------- >All the advantages of Linux Managed Hosting--Without the Cost and Risk! >Fully trained technicians. The highest number of Red Hat certifications in >the hosting industry. Fanatical Support. Click to learn more >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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! ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel