From owner-freebsd-java@FreeBSD.ORG Sun Mar 30 15:16:27 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEABB1065671 for ; Sun, 30 Mar 2008 15:16:27 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD928FC1A for ; Sun, 30 Mar 2008 15:16:27 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m2UFGQBJ009018; Sun, 30 Mar 2008 08:16:26 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m2UFGPh5009017; Sun, 30 Mar 2008 08:16:25 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 30 Mar 2008 08:16:25 -0700 From: Greg Lewis To: Rod Message-ID: <20080330151625.GA8977@misty.eyesbeyond.com> References: <20080330075658.GA6492@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-java@freebsd.org Subject: Re: Is JNI (Java Native Interface) Known to Work in Both Directions on FreeBSD (to invoke the JVM from native software)? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2008 15:16:28 -0000 On Sun, Mar 30, 2008 at 08:23:52AM +0000, Rod wrote: > I built the jdk16 originally under a FreeBSD7.0 installation that I had > updated to 7-Release from pre-release via buildworld/buildkernel. > > The output below was from running under a fresh install of > 7.0-Releaseinstalled from the > 7.0-Release binaries (from the CDs). I installed the jdk16 that I had built > under the older buildworlded 7.0-Release onto the fresh binary installed > 7.0-Release (which I installed clean specifically to investigate this > problem). > > I'm now rebuilding jdk16 under the fresh 7.0-Release to see if that helps. Sounds like a sensible thing to try. > Thanks for your help so far everyone - I've posted some further details > (output log from the invocation test program). > > Greg I'm not sure what you're referring to regarding removal of KSE > syscalls. What would be the implications in this situation? My bad, that has only happened in -current not in 7.x, so ignore that. I was thinking of a reason that you'd get a SIGSYS (which means you're invoking a non-existent syscall). Removal of the KSE syscalls would fit that, but it hasn't happened in 7.x so that can't be the case. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org