title: How to access USB ports in java
body: <p>I'm trying to write a java application that accesses the usb ports to read from and write to a device connected through usb.  The problem I face is that I don't know what exactly to use in java to do such a thing.  I searched online and found something called <code>JUSB</code> but all the posts seem fairly old.  </p>
  
  <p>Currently I'm using the <code>RXTX</code> libraries but I sometimes run into some sync error.  When I use C# to do the equivalent it requires far less code and I don't face any of the same sync error.   </p>
  
  <p>My question is, <strong>is there anything built into the latest version of the JRE I can use to access the usb ports</strong> (<em>that is just as easy as the equivalent C# code</em>)?</p>