Hi Sébastien Sébastien Villemot wrote: > Hi, > > I am trying to make the java package in Debian work with OpenJDK 7. > > This is becomig necessary because the security support of OpenJDK 6 is > about to expire, and that version will therefore soon be removed from > Debian (see [1]). > > However, the java package built against OpenJDK 7 makes Octave crash in > various weird ways (see [2]). It looks like a memory corruption problem. > > Has anybody successfully used the java package with OpenJDK 7?
A few days ago I've upgraded Linux on my laptop to Mageia 2, with OpenJDK 1.7.0.3. (copied from a Konsole terminal): [philip@jvc741 ~]$ java -version java version "1.7.0_b147-icedtea" OpenJDK Runtime Environment (mageia-2.1.1.mga2-i386) OpenJDK Client VM (build 22.0-b10, mixed mode) [philip@jvc741 ~]$ I've used it to test the io package (using the io_xls_testscript.m and io_ods_testscript.m files) and to install the Java package; AFAICS all work OK (save for Octave bug #36677 - canonicalize_file_name - which does not help UNO support). > Any idea > of the cause of this issue? I’ve started investigating this but I have > no clue for the moment. Do you have any detailed Java commands in Octave that crash? I could try that on Mageia. I suppose you started from a clean setup. Here I installed Octave 3.6.1 from the mageia repository and used that for installing the Java package (as root): setenv ("JAVA_HOME", "/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3") pkg install -forge -auto -verbose java Somewhere along the lines I saw: : checking for java.../usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3/bin/java : So, I suppose the problems lie with your system & build tools, not with OpenJDK. Philip ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev