From owner-freebsd-java@FreeBSD.ORG Sun Mar 30 08:23:53 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 9739C106564A for ; Sun, 30 Mar 2008 08:23:53 +0000 (UTC) (envelope-from funkyrod@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 569078FC34 for ; Sun, 30 Mar 2008 08:23:53 +0000 (UTC) (envelope-from funkyrod@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1061408wxd.7 for ; Sun, 30 Mar 2008 01:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=UMQACpQM4qMbntGXl2ZaiB+ShpiRnz1U8eLyEpgtXi0=; b=B1cXgHWWQ5av6WVZ7G+KedKJMkVo7fVb8NbURgxbbk8DEh9OlfLxFhxWPoQgYh//z7pVSRfwnoKuGHu8o7BoNtiis5SK2AaVyI9rrvUXIIqGOFCDADUcAtGuejNQPReCb9tJZJl7rECeAuykUgVE01eQr4Or+U/W4PejamuiqVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HtyvxLa3nJhdCdGV8+96P1RiO/VOyqoqpzNdAwGPcR+y3HShEZgt6P05vNqUgjKAgDsglcl1N0/N5uuJaDkWyQU/9KvJvysE8XsBZ7iVRSU70KyrDFezqxGhvaTSBDq8W5lh6MVMTbw0CB6UgBDXHdwBnFP3/CZP/SYrmwLxEJo= Received: by 10.70.75.12 with SMTP id x12mr6046023wxa.68.1206865432527; Sun, 30 Mar 2008 01:23:52 -0700 (PDT) Received: by 10.70.75.7 with HTTP; Sun, 30 Mar 2008 01:23:52 -0700 (PDT) Message-ID: Date: Sun, 30 Mar 2008 08:23:52 +0000 From: Rod To: "Greg Lewis" In-Reply-To: <20080330075658.GA6492@misty.eyesbeyond.com> MIME-Version: 1.0 References: <20080330075658.GA6492@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 08:23:53 -0000 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. 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? I'm currently rebuilding jdk16 under the clean binary install of 7-Release (i386) to see if that helps. Regards On Sun, Mar 30, 2008 at 7:56 AM, Greg Lewis wrote: > On Sat, Mar 29, 2008 at 06:36:11AM +0000, Rod wrote: > > I'm running this under a clean install of 7-Release I386: > > > > # uname -a > > FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC > > 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > > > I was getting the same result on my existing installation, so in case it > was > > some mix-up with libraries I tried new installations of 7-Release and > also > > PCBSD-1.5 (based on 6.3), both with the same result. > > > > I've tried Java 1.6 built from ports (usr/ports/java/jdk16) > > > > # java -version > > java version "1.6.0_03-p3" > > Java(TM) SE Runtime Environment (build > > 1.6.0_03-p3-root_16_feb_2008_09_59-b00) > > Java HotSpot(TM) Client VM (build 1.6.0_03-p3-root_16_feb_2008_09_59-b00 > , > > mixed mode) > > So why is the build date from the JDK earlier than the build date of your > kernel? That makes me suspicious about it being something to do with > removal of the KSE syscalls. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org >