[Xapian-discuss] java bindings 1.0.0 - jni.h not found
James Aylett
james-xapian at tartarus.org
Thu May 31 12:34:35 BST 2007
On Thu, May 31, 2007 at 12:26:24PM +0100, Olly Betts wrote:
> This issue was reported for Linux before, so the note in java/README
> talks about Linux because I'm still working on my omniscience.
I can confirm that the formation of jni.h on Solaris requires the same
hack.
> > For the Sun JDK, there shouldn't be any other values, because they are
> > the only platforms they support.
>
> OK, that's useful to know. I guess a case statement checking the
> platform we are building for is the best we can do, but it's an ugly
> solution and not very future proof, since Sun could add support for
> new platforms (I believe that Linux support was added more recently
> which is probably why the JNI FAQ doesn't mention it).
The linux version is a Sun adoption of the Blackdown port, so it's
based on the same codebase. Others (IBM, for instance) won't be, and
so will need different approaches if/when we hit issues.
What's going to be more interesting is that we'll start seeing more
ports as the GPL version of v6 picks up speed.
> > No idea what the APPL one does; I only have the JRE on my Mac at the
> > moment.
>
> If you mean Mac OS X, that installs jni.h in
> /System/Library/Frameworks/JavaVM.framework/Headers (phew!) which we
> already have in the list of paths to check.
Cool, we're okay then.
J
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list