If you google for "octave java JAVA_HOME", you'll find various references. But basically, you probably also need to define JAVA_HOME such that $JAVA_HOME/jre/lib/<ARCH>/client/libjvm.so exists.
Michael. On Tue, Nov 17, 2009 at 4:52 PM, Ken <kmai...@googlemail.com> wrote: > P.S. When I type > java -version > at the command line I get: > java version "1.6.0_0" > OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1) > OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) > > > 2009/11/17 Ken <kmai...@googlemail.com>: >> Thanks for your reply. You are correct that JDK was not found (see >> below). I will google for solutions and would appreciate any >> suggestions. >> >> Thanks, >> Ken >> >> >> >> >> I executed: >> pkg install -local -verbose Desktop/java-1.2.6.tar.gz >> >> The result was: >> mkdir (/tmp/oct-MZjmNz) >> untar (Desktop/java-1.2.6.tar.gz, /tmp/oct-MZjmNz) >> checking for gcc... gcc >> checking for C compiler default output file name... a.out >> checking whether the C compiler works... yes >> checking whether we are cross compiling... no >> checking for suffix of executables... >> checking for suffix of object files... o >> checking whether we are using the GNU C compiler... yes >> checking whether gcc accepts -g... yes >> checking for gcc option to accept ISO C89... none needed >> checking for mkoctfile... mkoctfile >> retrieving compile and link flags from mkoctfile >> checking for F77_FUNC... yes >> checking for octave... octave >> checking for OCTAVE_VERSION in Octave... 3.2.2 >> checking for octave_config_info('canonical_host_type') in Octave... >> x86_64-pc-linux-gnu >> checking for octave_config_info('SHLEXT') in Octave... so >> checking whether ln -s works... yes >> checking for ranlib... ranlib >> checking for strip... strip >> checking for java... java >> checking for javac... javac >> checking for jar... jar >> checking for Java version... 1.6.0_0 >> configure: creating ./config.status >> config.status: creating Makeconf >> >> >> "$prefix" is /usr/share/octave/packages/3.2/java-1.2.6 >> "$exec_prefix" is ${prefix} >> >> octave commands will install into the following directories: >> m-files: /usr/share/octave/3.2.2/site/m/octave-forge >> oct-files: /usr/lib/octave/3.2.2/site/oct/x86_64-pc-linux-gnu/octave-forge >> binaries: /usr/lib/octave/3.2.2/site/exec/x86_64-pc-linux-gnu >> alternatives: >> m-files: /usr/share/octave/3.2.2/site/octave-forge-alternatives/m >> oct-files: >> /usr/lib/octave/3.2.2/site/octave-forge-alternatives/oct/x86_64-pc-linux-gnu >> >> shell commands will install into the following directories: >> binaries: ${exec_prefix}/bin >> man pages: ${datarootdir}/man >> libraries: ${exec_prefix}/lib >> headers: ${prefix}/include >> >> octave-forge is configured with >> octave: octave (version 3.2.2) >> mkoctfile: mkoctfile for Octave 2 >> java: Java Development Kit not found >> >> find . -name NOINSTALL -print # shows which toolboxes won't be installed >> >> make: Entering directory `/tmp/oct-MZjmNz/java-1.2.6/src' >> Java support not compiled >> make: Leaving directory `/tmp/oct-MZjmNz/java-1.2.6/src' >> >> >> >> 2009/11/17 Michael Goffioul <michael.goffi...@gmail.com>: >>> Re-install the package with -verbose flag and look at the configure >>> script output, especially whether it detected JDK correctly. >>> >>> Michael. >> > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev