Date: Thu, 14 Feb 2002 12:02:08 -0700 From: "Guerry Semones" <gsemones@treenleaf.com> To: <freebsd-java@FreeBSD.ORG> Subject: Re: Need info for compiling JDK1.3.1 on FreeBSD with Native Threads Message-ID: <200202141202.AA308543714@mail.mstar2.net>
next in thread | raw e-mail | index | archive | help
---------- Original Message ---------------------------------- From: Bill Huey <billh@gnuppy.monkey.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202141202.AA308543714>