[Rxtx] Portability issues
Trent Jarvi
tjarvi at qbang.org
Thu Aug 24 18:16:55 MDT 2006
On Thu, 24 Aug 2006, Adrian Parker wrote:
> Does RXTX 2.0 depend upon Sun's javax.comm package? If so, why would we use
> RXTX 2.0? Does it provide system librairies that javax.comm does not?
>
> I need to run a javax.comm-using application on Linux (libc 2.3.x), Sco's
> OpenServer Release 5.0.7, and a Windows machine (I don't know yet if its XP,
> or 2000, or server 2003). Can this be done with a single implementation of
> RXTX? I don't want to have different versions of Java code that have
> different package names.
>
Hi Adrian. The native code can support all of the platforms you mention.
I've never compiled for unixware or openunix but the patches are in the
code. So you would need to compile for that target.
>From there you would probably be best off going with rxtx 2.1 so you have
all the classes in one package. You can opt to use rxtx 2.0 with Sun's
commapi for Solaris v 2. The main differences are rxtx 2.1 comes with all
the source/classes and is in package gnu.io while Sun's requires rxtx for
some platforms but is in package javax.comm.
The low level code is the same in either case as far as rxtx is concerned.
--
Trent Jarvi
tarvi at qbang.org
More information about the Rxtx
mailing list