How to access USB ports in java

Posted by Petezah on Stack Overflow See other posts from Stack Overflow or by Petezah
Published on 2010-01-23T00:35:38Z Indexed on 2010/05/22 13:30 UTC
Read the original article Hit count: 285

Filed under:
|
|

Hi I'm trying to write a java application that accesses the usb ports to some read and writes 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 a found something called jusb but all the post seem fairly old. Currently I'm using the RXTX 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. My question is there anything built into the latest version of the JRE I can use to access the usb ports that is just as easy as the equivalent C# code? Sorry if the question isn't too clear, I'm fairly noob with coding usb IO.

© Stack Overflow or respective owner

Related posts about java

Related posts about usb