Is JNI (Java Native Interface) Known to Work in Both Directions on FreeBSD (to invoke the JVM from native software)?

Rod funkyrod at gmail.com
Sun Mar 30 01:23:53 PDT 2008


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 at 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 at 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 at eyesbeyond.com
> Eyes Beyond                         Web     : http://www.eyesbeyond.com
> Information Technology              FreeBSD : glewis at FreeBSD.org
>


More information about the freebsd-java mailing list