From owner-freebsd-java Mon Mar 11 2: 2:13 2002 Delivered-To: freebsd-java@freebsd.org Received: from azrael.xs4all.nl (azrael.xs4all.nl [213.84.50.139]) by hub.freebsd.org (Postfix) with ESMTP id 9B26637B402 for ; Mon, 11 Mar 2002 02:02:09 -0800 (PST) Received: (from remco@localhost) by azrael.xs4all.nl (8.11.6/8.11.6) id g2BA19116854; Mon, 11 Mar 2002 11:01:09 +0100 (CET) (envelope-from remco) Date: Mon, 11 Mar 2002 11:01:09 +0100 From: "Remco van 't Veer" To: Espen Tagestad Cc: Antony T Curtis , freebsd-java@FreeBSD.ORG Subject: Re: JDK1.3.1 with RXTX Message-ID: <20020311100109.GF374@azrael.xs4all.nl> References: <20020311084647.GA92796@totem.fix.no> <3C8C70A8.25E4CE48@abacus.co.uk> <20020311091234.GA93232@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020311091234.GA93232@totem.fix.no> User-Agent: Mutt/1.3.27i X-Spook: Toffler JAVA ammunition sweep stakeout ANZUS NMIC number key SABC Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You need to pass WITH_NATIVE_THREADS to the build process if you want native threads. Please note the native thread code is very alpha at this moment. Remco On Mon, Mar 11, 2002 at 10:12, Espen Tagestad wrote: > On Mon, Mar 11, 2002 at 08:54:00AM +0000, Antony T Curtis wrote: > > Espen Tagestad wrote: > > > > > > Hi, > > > > > > I have some problems getting the RXTXdriver class for www.rxtx.org to > > > work with Java in FreeBSD. My java application use a com port to > > > communicate with a Nokia cellular phone with a data cable. > > > > > Looks like the library is expecting the native-threads runtime or is at > > least dependent upon it. > > > > Does it get past that with the '-native' option specified? > > I built a native Java from /usr/ports/java/jdk13, but it looks like > the native java is not there. Trying with -native I got the following > message: > > java was not found in /usr/local/jdk1.3.1/bin/i386/native_threads/java > > And that's right, the file is not there. Maybe something is wrong with > my Java installtion too? > > regards, > Espen Tagestad -- We have committed to reinvent open-source channels as the first step in our scheme to better serve the world and inflate our net worth. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message