jni.h is part of Java Development Kit (JDK). You need it
installed in order to compile the java package. If it's installed,
you may need to add the JDK include dirs to CPPFLAGS
with the -I compilation flag.

Michael.


On Mon, Nov 30, 2009 at 10:19 PM, [email protected]
<[email protected]> wrote:
> All,
>
> My latest attempt to install the java package (using the 3.2.3 binary on 
> Vista) fails at line 1253 in file 'pkg.m'.  Apparently, the file 'jni.h' is 
> not in the tar file (see error snippet).
>
>
> In file included from __java__.cc:17:
> __java__.h:22:17: error: jni.h: No such file or directory
> In file included from __java__.cc:17:
> __java__.h:34: error: expected ')' before '*' token
> __java__.h:38: error: expected ')' before '*' token
> __java__.h:75: error: ISO C++ forbids declaration of 'JNIEnv' with no type
>
> Experts please advise.  Do I need a corrected 'java-1.2.5.tar.gz' file?
>
> Thanks,
>
> BZ
>
> ____________________________________________________________
> Doctorate Degrees Online
> Boost your career with an online doctoral degree. Enroll today!
> http://thirdpartyoffers.juno.com/TGL2131/c?cp=247Bvh_Ms4pnbNdVn2NW1AAAJz3uVYjR4RyDRi3M6ulKIXhDAAQAAAAFAAAAALpclT4AAAMlAAAAAAAAAAAAAAAAAAAyOQAAAAA=
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Octave-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/octave-dev
>

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to