[Pkg-octave-devel] Bug#676800: Bug#676800: octave-java: completely breaks octave

Sébastien Villemot sebastien.villemot at ens.fr
Wed Jun 20 06:11:23 UTC 2012


"John W. Eaton" <jwe at octave.org> writes:

> I'd like to help debug this problem but I need some help.

Thanks for volunteering!

> I need to be able to install a debug version of Octave (preferably the
> current development sources) and build the Java package also with
> debugging symbols.  I'm using Debian testing.  What packages do I need
> to install?  After doing
>
>   pkg install java-1.2.8.tar.gz
>
> apparently successfully, I'm seeing
>
>   octave> javaclasspath
>   warning: timestamp on file /usr/lib/jvm/default-java/jre/lib/amd64/client/libjvm.so is in the future
>   error: java_invoke: /usr/lib/jvm/default-java/jre/lib/amd64/client/libjvm.so: failed to load: /usr/lib/jvm/default-java/jre/lib/amd64/client/libjvm.so: cannot open shared object file: No such file or directory
>   error: called from:
>   error:   /home/jwe/octave/java-1.2.8/javaclasspath.m at line 49, column 14

You need this patch (incorporated in the octave-java package):

 http://anonscm.debian.org/gitweb/?p=pkg-octave/octave-java.git;a=blob;f=debian/patches/libjvm.patch;h=cc847293d00ae09ac74e8eca833dbafdd48918a2;hb=19a7fdc2264cb0166f5324677bf2615252fda8e3

Also, /usr/lib/jvm/default-java points to OpenJDK 6 on my Debian sid
system. If you want to select OpenJDK 7, you need to set the JAVA_HOME
variable to:

 export JAVA_HOME = /usr/lib/jvm/java-7-openjdk-amd64

(this is done in debian/rules of the octave-java package).

-- 
Sébastien Villemot
Researcher in Economics & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20120620/ba430f44/attachment-0001.pgp>


More information about the Pkg-octave-devel mailing list