octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java jni.h


From: Rik
Subject: Re: Java jni.h
Date: Fri, 07 Dec 2012 09:32:19 -0800

On 12/07/2012 07:51 AM, Michael D. Godfrey wrote:
> On 12/07/2012 09:31 AM, Richard Crozier wrote:
>> On 06/12/2012 19:20, Rik wrote:
>>> 12/6/12
>>>
>>> All,
>>>
>>> There is still quite a bit of work to do in importing the Java package
>>> into
>>> core and bringing it up to core standards.
>>>
>>> --Rik
>>>
>>
>> In a related matter, I have been getting an error about not being able
>> to find jini.h (I think) when trying to build the dev sources on Mint
>> Linux 14 (basically Ubuntu). I have openjdk installed but as I don't use
>> java directly I'm not sure what exactly is required.
>>
>> I saw quite a few posts about this related to MacOS a while back, was
>> there a solution to this that will also work for Linux?
>>
>> Richard
> I have the same problem with fc17, and I just reported it as bug #37879.
>
>
>
There should be a workaround for that as well.  I plan to use
AX_JNI_INCLUDE_DIR which is an Autoconf extension macro that supposedly
will locate jni.h given only a valid javac compiler.

In practical terms, it may be because you only have the JRE (Java Runtime
Environment) packages for your distribution installed.  You also need the
JDK (Java Development Kit) installed.  On my old Ubuntu 10.04 system I have
the following

dpkg -S /usr/lib/jvm/java-6-openjdk/include/jni.h
openjdk-6-jdk: /usr/lib/jvm/java-6-openjdk/include/jni.h

Cheers,
Rik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]