title: How can I use Java to communicate to device through USB port?
body: <p>I just recently learn Java and try to communicate to the device through USB port connection.  I've have used C# with OpenNETCF which allows me to send file and retrieve file on the device through USB port;  how can I achieve this with java?  </p>
  
  <p>I seearch on stackoverflow thread, <a href="https://stackoverflow.com/questions/544507/how-to-communicate-with-a-usb-device-under-windows-and-java">How to communicate with a USB device under Windows and Java?</a>, the comment made by christoffer is to hack the native code, but I don't quite which native code api that he referred to.  RAPI, maybe?</p>