help-octave
[Top][All Lists]
Advanced

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

Re: jhandles with debian


From: Oz Nahum
Subject: Re: jhandles with debian
Date: Thu, 21 May 2009 15:34:02 +0200

Thanks for your reply...
I've been fighting with it for a couple of hours now...
It's seems to partially work now. It now longer says
   java:        Java Development Kit not found

But java installations still kicks me out...

here are the first & last line of the installation:

warning: load_path: /usr/share/octave/packages/3.0/java-1.2.6: No such file or directory
warning: load_path: /usr/share/octave/packages/3.0/java-1.2.6: No such file or directory
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

clipped ...


/include/linux -DHAVE_OCTAVE_30 -DJAVAPKG_BUILD -DJAVA_ARCH=\"i386\" -DJAVA_HOME=\"/usr/lib/jvm/java-6-openjdk\" __java__.cc -o __java__.o
make: Leaving directory `/tmp/oct-UzSGYh/java-1.2.6/src'
error: called from `pkg:configure_make' in file /usr/share/octave/3.0.5/m/pkg/pkg.m near line 1248, column 2


So I'm still stuck...

Thanks alot,
Oz.

On Thu, May 21, 2009 at 2:45 PM, Michael Goffioul <address@hidden> wrote:
On Thu, May 21, 2009 at 12:58 PM, Oz Nahum <address@hidden> wrote:
> Hi,
> I tried installing jhandles on debian:
> I use octave 3.0.5 sun-java-1.6, sun-java6-jdk,
> I also installed libjogl-java (the debian name for jogl).
> According to this thread
> http://www.nabble.com/How-do-I-install-the-java-and-jhandles-packages--td18526884.html
>  I needed to export my java home: so I did
> export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/

Try

export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/

Michael.



--
----
           Imagine there's no countries
           It isn't hard to do
           Nothing to kill or die for
           And no religion too
           Imagine all the people
           Living life in peace



reply via email to

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