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
Mon Mar 31 06:32:54 PDT 2008


Guys

Thanks for your help with this.
After re-building jdk16, I was able to run the simple c++ invocation program
to invoke a JVM via the JNI.
For some reason however, I still get the SIGSYS with R and rJava so I'll
contact the rJava developers next.

Regards

Rod.

On Sun, Mar 30, 2008 at 3:16 PM, Greg Lewis <glewis at eyesbeyond.com> wrote:

> 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 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