JAVA USB detection

Hi all,

I am developing an application that requires to read a properties file from the USB memory stick. I have tried the Open Source jUSB. The API's in that allow you to detect the USB. But it doesnt tell you which drive the USB is on (for eg. USB drive is E drive on my laptop). I need the application to retrieve the drive letter and read the properties file. The applDoes anyone have any solution for this ?

Then it hit on me that probably after the USB is inserted, some registry changes might occur which shows which drive the USB is on. Again no luck :-(

Would anyone have any kind of solution, or would JNI be needed for this purpose ?

Thanks in advance !!!!

[709 byte] By [devil_himself] at [2007-9-30 7:37:10]
# 1

Hi,

sir i am also working on that jUSB opensource API. Actually i am using that code on Windows 2000 platform to detect a USB when it is pluged in or out . sir i am having a problem that it is giving me an exception of USB support not available in windows 2000. although its working fine in windowsXP. can u plz help me in this matter. please reply me as soon as possible.

matikhan at 2007-7-2 0:39:40 > top of Java-index,Other Topics,Java Community Process (JCP) Program...
# 2
Did you find any solutions to this problem?I need the same.Thanks!
raffa@it at 2007-7-2 0:39:40 > top of Java-index,Other Topics,Java Community Process (JCP) Program...
# 3
sir i am a student of final year working on the same idea of detecting a pen drive ( usb drives for our college lab ) for our college project.sir we have worked over it but still somethinh has not happened .can you pleas help us out
avinash_deshmukh at 2007-7-2 0:39:40 > top of Java-index,Other Topics,Java Community Process (JCP) Program...