I need to find the vendor Id, Product Id of the usb drive connected to the system, through java code. Any suggestions...
I have never interfaced with USB in Java before, but have a look at JSR-80 (javax.usb) API. IBM DeveloperWorks have a tutorial (which can be useful).