[Xapian-discuss] java bindings 1.0.0 - jni.h not found

Ralf Mattes rm at seid-online.de
Wed May 30 16:36:15 BST 2007


On Wed, 2007-05-30 at 16:32 +0100, James Aylett wrote:
> On Wed, May 30, 2007 at 05:28:48PM +0200, Martin Kuen wrote:
> 
> > Note that I have added JAVA_HOME to my path and if I look into the
> > directory "/usr/lib/jvm/java-1.5.0-sun/include" there is a "jni.h"
> > file - This directory does not appear if I don't set JAVA_HOME.
> 
> Erm... JAVA_HOME needs to be added to your *environment*, not your
> path...

And - more on topic - did you install 'sun-java5-jdk'? That's the packet
that provides this file ...

HTH Ralf Mattes
> J
> 




More information about the Xapian-discuss mailing list