Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2008 08:23:52 +0000
From:      Rod <funkyrod@gmail.com>
To:        "Greg Lewis" <glewis@eyesbeyond.com>
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)?
Message-ID:  <dbe5b4eb0803300123h67c48c36r777e32c785183c6f@mail.gmail.com>
In-Reply-To: <20080330075658.GA6492@misty.eyesbeyond.com>
References:  <dbe5b4eb0803282336p5143c5a3ub15113eaef799668@mail.gmail.com> <20080330075658.GA6492@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <glewis@eyesbeyond.com> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dbe5b4eb0803300123h67c48c36r777e32c785183c6f>