Date: Mon, 31 Mar 2008 13:32:51 +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: <dbe5b4eb0803310632n7c1cde15n1c0357948cc09ea8@mail.gmail.com> In-Reply-To: <20080330151625.GA8977@misty.eyesbeyond.com> References: <dbe5b4eb0803282336p5143c5a3ub15113eaef799668@mail.gmail.com> <20080330075658.GA6492@misty.eyesbeyond.com> <dbe5b4eb0803300123h67c48c36r777e32c785183c6f@mail.gmail.com> <20080330151625.GA8977@misty.eyesbeyond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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?dbe5b4eb0803310632n7c1cde15n1c0357948cc09ea8>