From owner-freebsd-java@FreeBSD.ORG Thu Sep 2 07:00:37 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B21DC16A4CE for ; Thu, 2 Sep 2004 07:00:37 +0000 (GMT) Received: from cocoa.syncrontech.com (cocoa-e0.syncrontech.com [62.71.8.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C858B43D1F for ; Thu, 2 Sep 2004 07:00:35 +0000 (GMT) (envelope-from ari@suutari.iki.fi) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19])i8270SWw079558; Thu, 2 Sep 2004 10:00:29 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Received: from suutari.iki.fi (coffee.syncrontech.com [62.71.8.37]) i8270R0V062848; Thu, 2 Sep 2004 10:00:27 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Message-ID: <4136C50B.2050906@suutari.iki.fi> Date: Thu, 02 Sep 2004 10:00:27 +0300 From: Ari Suutari User-Agent: Mozilla Thunderbird 0.5 (X11/20040310) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Herve Quiroz References: <20040831120745.L66028@hawat.cc.ubbcluj.ro> <20040901072358.GA45042@anyware12.anyware> <20040901142643.GA80717@arabica.esil.univ-mrs.fr> In-Reply-To: <20040901142643.GA80717@arabica.esil.univ-mrs.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) cc: freebsd-java@freebsd.org Subject: Re: Java Communication API for FreeBSD Input Stream Problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 07:00:37 -0000 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.