General Linux and Windows Library Usage
Alexander Mironenko
alexander.mironenko at oracle.com
Tue Mar 6 22:51:14 UTC 2018
Hi Allen,
Device IO was designed and implemented to work on any Linux distribution, not only on embedded devices.
Regarding the Windows… If you want to do that on Java, I think the only standard and tested approach is to use a JavaME Windows emulator that supports working with Windows COM port via generic connection framework.
From the JavaSE, JNI is an approach for you as well.
Also another approach is to use a some king of Linux emulator, to run Java SE on Linux.
From my experience, there are some third-party Java libraries to work with COM ports on Windows, but usually the main problem of all those libraries is that many of them are not updated and supported a couple of years, because communication with COM ports on Windows is a kind of rare use case these days.
Regards,
Alex
> On Mar 6, 2018, at 10:18 AM, Allen Myers <allen at aemyers.com> wrote:
>
> I've been trying to find a reliable serial library to act as an interface
> to a USB connection to a UART on an Arduino. This Device I/O library looks
> brilliant. I'm just not sure if I can use it on a full Linux server (Dell
> server). Is this only designed to be run on embedded type platforms? Could
> it interface with a /dev/tty device on a standard Linux server?
>
> My production environment is Linux, but my test environment is Windows. If
> possible, how would I go about getting natives built for Windows?
More information about the dio-dev
mailing list