help-octave
[Top][All Lists]
Advanced

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

Re: How do I install the java and jhandles packages?


From: Michael Goffioul
Subject: Re: How do I install the java and jhandles packages?
Date: Fri, 18 Jul 2008 14:48:33 +0200

On Fri, Jul 18, 2008 at 12:43 PM, Matthias Brennwald
<address@hidden> wrote:
> Dear all
>
> I tried to install the java and jhandles packages. I have Octave 3.0
> running on an Ubuntu 8.04 machine. I downloaded the java package and the
> jhandles package to my Desktop. I couldn't find any specific
> instructions on how to install the java and jhandles packages, so I
> assumed installing them works the same way as with other packages. I did
> the following in Octave:
>
> ------------------------------------
> octave:1> cd Desktop/
> octave:2> pkg install java-1.2.4.tar.gz
> octave:3> pkg install jhandles-0.3.3.tar.gz
> make: *** [all] Error 255
> 'make' returned the following error: make: Entering directory
> `/tmp/oct-Swp9i8/jhandles-0.3.3/src'
> Java support not compiled
> make: Leaving directory `/tmp/oct-Swp9i8/jhandles-0.3.3/src'
> error: called from `configure_make' in
> file /usr/local/share/octave/3.0.0+/m/pkg/pkg.m near line 1251, column 2
> error: called from `install' in file `/usr/local/share/octave/3.0.0
> +/m/pkg/pkg.m'
> error: evaluating switch command near line 275, column 1
> error: called from `pkg' in file `/usr/local/share/octave/3.0.0
> +/m/pkg/pkg.m'
> ------------------------------------
>
> What am I doing wrong?

Can you check whether the java package is working?

l = java_new ('java.util.LinkedList')

If the java package does not work, the usual cause is due to the
installation path of Java and you need to set JAVA_HOME
explicitely. See for instance this thread

http://www.nabble.com/Trouble-installing-Java-and-Jhandles-td15653720.html#a15747857

Did you install JOGL?
Can you use the -verbose flag with pkg to get the output of the
configure script?

Michael.



reply via email to

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