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 JUSB
but all the posts 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, 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)?
Been using usb4java for a year on cross platfom (Linux and Windows) and it works great.
See:
They are very active and have a very good javax USB front.