From owner-freebsd-java Fri Mar 1 6:31:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from webmail2.knology.net (user-24-214-63-44.knology.net [24.214.63.44]) by hub.freebsd.org (Postfix) with SMTP id F293F37B402 for ; Fri, 1 Mar 2002 06:31:48 -0800 (PST) Received: (qmail 24640 invoked by uid 400); 1 Mar 2002 14:20:00 -0000 Date: 1 Mar 2002 14:20:00 -0000 Message-ID: <20020301142000.24639.qmail@webmail2.knology.net> From: "Mike Murphree" To: Ari Suutari , Mike Murphree , "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: Ugrade from linux-jdk to native References: <> In-Reply-To: <> X-Mailer: Knology Webmail Nov 2001 Release X-IPAddress: 12.13.248.12 X-Sender: w4lna@knology.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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 On Fri, 1 Mar 2002 16:12:58 +0200, Ari Suutari wrote : > Hi, > > > On Friday 01 March 2002 14:38, Mike Murphree wrote: > > On Friday 01 March 2002 03:39 am, Koster, K.J. wrote: > > > Dear Mike, > > > > > > > > > Good question. Is there any reason to use native jdk instead > > > > > > of the new version of the linux jdk? > > > > > > > > > > For most things it isn't. You'll need native for doing JNI > > > > > stuff. Everything else works fine in the Linux JDK's. > > > > > > > > Along these lines, I have a Java program that works on both Windows > > > > and Linux which uses libraries to perform serial I/O and I would > > > > like to get it operating under FreeBSD. Is this not possible under > > > > the Linux emulation or do I need a native JDK to make it work? > > > > > > There is a JavaComm port or somesuch. Isn't that a library to conduct > > > serial I/O from Java? It might have ports to all the platforms you need. > > > > It does not. Only Windows, Linux, and probably Solaris. > > > > Yes it does. Sun supports only operating systems above, > but there is freebsd-commapi port, which provides FreeBSD-support > to it. The port is not yet committed to ports tree, but there has > bee progress today. There are just a few port Makefile -specific > problems to be solved which are there mostly because it was > the first port Makefile written by me. Sorry, that didn't come out quite right. The Java app that I was trying to get to work only works on the aforementioned operating systems since it had C libraries to support I/O only on those platforms. I do not believe that it uses the JavaComm port on those operating systems and would have to be re-written to take advantage of them. The app was originally written for the 1.1.8 JDK. I'll look forward to your port... Thanks, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message