Search code examples
javadevice-driverportsdevice

What are Java's native ways of communicating with devices directly?


What are Java's native ways of communicating with devices or ports such as LPT1, COM1, USB directly?


Solution

  • native means unportable, so you have to mess with JNI or JNA if and only if the following libraries doesn't works for you: