Hello

Thanks for the reply. Basically, I have jdk at /usr/local/j2sdk1.4.2_03,
with a link to it, /usr/local/java.

If I compile pointing to the link, I get "Can't locate file 'jni.h'
anywhere under '/usr/local/java'"

perl Makefile.PL J2SDK=/usr/local/java

If I compile pointing to the actual directory, it works.

perl Makefile.PL J2SDK=/usr/local/j2sdk1.4.2_03



Chris



> -----Original Message-----
> From: Patrick LeBoutillier [mailto:[EMAIL PROTECTED] 
> Sent: 13 January 2004 15:33
> To: Chris Faulkner
> Cc: [EMAIL PROTECTED]
> Subject: RE: Inline::Java - call native libraries
> 
> 
> Sorry about that,
> 
> Normally jni.h is at /usr/java/j2sdk1.4.X_XX/include/jni.h 
> and Inline::Java normally manages to find it. If it is there 
> and Inline::Java can't find it, send me the output from 'perl 
> Makefile.PL J2SDK=...' and of 'find /usr/java/j2sdk1.4.X_XX 
> -name \*.h' and I'll see what's up.
> 
> Patrick
> 
> 
> On Tue, 2004-01-13 at 10:11, Williams, Ken wrote:
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] 
> > > [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, January 12, 2004 9:25 PM
> > > To: Chris Faulkner; [EMAIL PROTECTED]
> > > Subject: Re: Inline::Java - call native libraries
> > > 
> > > 
> > > > I compiled Inline Java without the JNI extensions, when 
> I triid, 
> > > > it complained about the fact that it couldn't find jni.h in my 
> > > > JDK. When I run my program now, I get this
> > > >
> > > 
> > > When you opt not to install the JNI extension, there should 
> > > be no questions
> > > about .h
> > > files and there should be no C code compiled. 
> > 
> > I believe he meant that he didn't install JNI *because* it 
> couldn't find
> > jni.h.
> > 
> >  -Ken
> 
> 



Reply via email to