Rob Prime wrote:I'm not sure if we can do this in Java without some JNI. You could try a third party library like jUSB and see if that supports what you want. If not, you will have to use JNI yourself.
i am not able to create dll also

.i am not getting c/c++ code to detect device and get drive letter

.do you have any source?.