General Linux and Windows Library Usage

Allen Myers allen at aemyers.com
Wed Mar 7 00:11:57 UTC 2018


Alexander, Thank you for your input also. I'm going to investigate further
on running a Linux VM on my Windows test environment. To be honest, not
having identical development and production environments has bothered me
for a bit now.

I know what you mean about using Windows to interact with serial ports.
Most of the maker/DIY community seems to be very Linux driven in many
aspects. I still would figure my desires of cross-platform support for a
generic USB serial library wouldn't be so far fetched. But I guess I'm
wrong.

On Tue, Mar 6, 2018 at 3:51 PM, Alexander Mironenko <
alexander.mironenko at oracle.com> wrote:

> 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