Java detect script doesn't work with Scilab 5.3.3
Sérgio Benjamim
sergio_br2 at yahoo.com.br
Sat Apr 7 04:52:15 CEST 2012
Hello!
I downloaded and installed Scilab 5.3.3 in the Ubuntu 10.04, _and it
works fine_, but it uses 6u18 jre version to run, it seems to be the
default java that comes with Scilab (in the
*scilab-5.3.3/thirdparty/java/* folder). There is a java installed on my
system at /opt/java/64/jdk1.6.0_31/ , and I modified the scilab's script
that comes at scilab-5.3.3/bin/ , like this:
JAVA_DEFAULT_DIR="/usr/lib/jvm/java-6-openjdk/ /usr/lib/jvm/java/
/usr/lib/jvm/java-6-sun/ /usr/lib/j2se/1.6 /usr/java/jdk1.6.0*/
/usr/java/jdk1.5.0*/ /usr/lib/j2sdk1.6-ibm /usr/lib/jvm/java-1.5.0-sun
/usr/java/ /usr/lib/j2se/1.5 /usr/lib/j2se/1.4 /usr/java/jre1.6.0*/
/usr/java/jre1.5.0*/ /usr/lib/j2sdk1.5-ibm /usr/lib/j2sdk1.4-ibm
/usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.4-sun /usr/lib/jvm/java-gcj
/usr/lib/jvm/java-1.5.0-gcj/ /usr/lib/kaffe/pthreads
/usr/lib/jvm/java-1.7.0-icedtea-*/ /usr/lib/jvm/jre/
/usr/local/diablo-jdk1.6.0/ */opt/java/64/jdk1.6.0_31/*"
I did that modification in the scilab 5.2.1-8 script, and it works!!!
(That Scilab comes in the ubuntu repositories) Scilab 5.2.1-8 used the
jre 6u31 version, instead the default java.
I have a jdk java version installed here to, it is the 6u21 java
version, but the Scilab doesn't detect either.
Look to what comes with *ver* command:
Scilab Version: 5.3.3.1311149487
Operating System: Linux 2.6.32-40-generic
Java version : 1.6.0_18
Java runtime information : Java(TM) SE Runtime Environment (build
1.6.0_18-b07)
Java vm information : Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13,
mixed mode)
Vendor specification: Sun Microsystems Inc.
Sorry for my english...
--
Sérgio Benjamim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120406/ae3d1c31/attachment.htm>
More information about the users
mailing list