From owner-freebsd-java Thu Feb 14 11: 2:10 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by hub.freebsd.org (Postfix) with ESMTP id 85F6C37B402 for ; Thu, 14 Feb 2002 11:02:06 -0800 (PST) Date: Thu, 14 Feb 2002 12:02:08 -0700 Message-Id: <200202141202.AA308543714@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads X-Mailer: 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 ---------- Original Message ---------------------------------- From: Bill Huey Date: Thu, 14 Feb 2002 10:05:13 -0800 >On Thu, Feb 14, 2002 at 10:05:20AM -0700, Guerry Semones wrote: >> Sorry if this is in a FAQ somewhere. I know the Native Threads >> implementation is under way. >> >> Here is what I am trying to accomplish as explained briefly in a >> previous post. We are porting a C++ application that initializes >> the JVM and calls Java classes from the C++ side. I'd like to be >> able to get a Native Threads JDK (1.2 or 1.3) compiled for FreeBSD >> that we can then link into our C++ application. >> >> I have been trying various suggestions for the Green Threads >> stuff, but get a core dump on the JNI_CreateJavaVM call. Of >> course, there are warnings of just this sort of issue when trying >> to do this with Green Threads, so.... Native? :-) > >So what are you specifically doing here ? > >Are you letting the JVM itself start up and then having it interface >with the C++ program you wrote or are you directly calling those JNI >functions ? > >bill We are initializing the JVM *in* the C++ code using JNI_CreateJavaVM. The code runs fine on Windows 2000 with JDK1.3.1. We are porting to FreeBSD. Thanks, Guerry ________________________________________________________________ Sent via the Mstar2 mail system at mail.mstar2.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message