[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jni.h file not found
From: |
Rik |
Subject: |
Re: jni.h file not found |
Date: |
Sat, 04 Jan 2014 18:04:46 -0800 |
On 01/04/2014 10:00 AM, address@hidden wrote:
> Message: 4
> Date: Sat, 04 Jan 2014 19:13:49 +0200
> From: Steph Bredenhann <address@hidden>
> To: address@hidden
> Subject: Octave 3.8.0 on Ubuntu 13.10: Include file <jni.h> not found
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi All
>
> I have managed to install all dependencies for Octave 3.8.0 on Ubuntu
> 13.10 x64, but I keep on getting this message:
>
> configure: WARNING: Include file <jni.h> not found. Octave will not be
> able to call Java methods.
>
> The jni.h is present, how do I get the Octave scripts to "see" it?
Steph,
Start by checking the environment variable JAVA_HOME. It needs to point to
the JDK base installation, not the JRE installation. The jni.h file should
be located in $JAVA_HOME/include.
--Rik
- Re: jni.h file not found,
Rik <=