Java Communication API for FreeBSD Input Stream Problem
Ari Suutari
ari at suutari.iki.fi
Thu Sep 2 00:00:37 PDT 2004
Hi,
Herve Quiroz wrote:
> Jean-Baptiste,
>
> On Wed, Sep 01, 2004 at 09:24:01AM +0200, Jean-Baptiste Quenot wrote:
>
>>You may want to give a try to RXTX, I have ported it to FreeBSD:
>>
>>http://caraldi.com/jbq/ports/rxtx/
>>http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/65396
>>
>>Basically, RXTX is an open-source implementation of Java Comm API, and
>>AFAICT it works right out of the box! See contrib/SimpleRead.java in
>>the source distribution for a simple example that just works.
>>
I kind of missed this thread before. However, current rxtx
version has problems how it handles the JNI pointer inside it's
C code. This might or might not be a showstopper (might crash VM
when it hits). The rxtx author is aware of the problem, but I don't
know if it has been fixed.
I was hoping that I would no longer have to maintain
FreeBSD commapi and tried to use RXTX to talk to
dallas 1-wire devices (see www.ibutton.com). I was hit
by this bug and I decided to continue using FreeBSD commapi
since it looked that the fix for rxtx was not coming
soon.
Ari S.
More information about the freebsd-java
mailing list