Bug#641764: Don't start scilab "Could not load JVM dynamic library (libjava)."

Jorge Ernesto Guevara Cuenca guevara.ernesto at gmail.com
Thu Sep 15 22:07:09 UTC 2011


Package: scilab
Version: 5.3.3-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,
When scilab is executed from terminal emlator return this message:

Could not load JVM dynamic library (libjava).
Error: libjvm.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/.
If you are using a self-built version of Scilab, update the script bin/scilab to provide the path to the JVM.
The problem might be related to SELinux. Try to deactivate it.
Please also check that you are not trying to run Scilab 64 bits on a 32 bits system (or vice versa).

Scilab cannot open JVM library.

If I execute scilab with verbose 1, i obtain the next output

SCIVERBOSE=1 scilab
SCILABBIN : scilab-bin
DISABLE_JAVA_DETECTION : 0
SCILAB_MODE : gui
OS : Linux
MODEL : x86_64
IS_SCILAB_BINARY : 0
Trying to find Java in /usr/lib/jvm/java-6-openjdk/ 
Trying to find Java in /usr/lib/jvm/java/ 
Trying to find Java in /usr/lib/jvm/java-6-sun/ 
Trying to find Java in /usr/lib/j2se/1.6 
Trying to find Java in /usr/java/jdk1.6.0*/ 
Trying to find Java in /usr/java/jdk1.5.0*/ 
Trying to find Java in /usr/lib/j2sdk1.6-ibm 
Trying to find Java in /usr/lib/jvm/java-1.5.0-sun 
Trying to find Java in /usr/java/ 
Trying to find Java in /usr/lib/j2se/1.5 
Trying to find Java in /usr/lib/j2se/1.4 
Trying to find Java in /usr/java/jre1.6.0*/ 
Trying to find Java in /usr/java/jre1.5.0*/ 
Trying to find Java in /usr/lib/j2sdk1.5-ibm 
Trying to find Java in /usr/lib/j2sdk1.4-ibm 
Trying to find Java in /usr/lib/j2sdk1.5-sun 
Trying to find Java in /usr/lib/j2sdk1.4-sun 
Trying to find Java in /usr/lib/jvm/java-gcj 
Trying to find Java in /usr/lib/jvm/java-1.5.0-gcj/ 
Trying to find Java in /usr/lib/kaffe/pthreads 
Trying to find Java in /usr/lib/jvm/java-1.7.0-icedtea-*/ 
Trying to find Java in /usr/lib/jvm/jre/ 
Trying to find Java in /usr/local/diablo-jdk1.6.0/ 
Have not been able to find any Java VM on this computer. Some features may be broken.
JAVA_HOME : /usr/local/diablo-jdk1.6.0/
Cannot find /usr/local/diablo-jdk1.6.0//lib/amd64/libjava.so
SCI : /usr/share/scilab/
SCIBIN : /usr/bin/scilab-bin
PATH : /usr/share/scilab/:/usr/share/scilab//bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/bin
CLASSPATH : 
LD_LIBRARY_PATH : /usr/lib/scilab/:/usr/lib64/scilab/:
DOCBOOK : /usr/share/sgml/docbook/stylesheet/xsl/nwalsh

Could not load JVM dynamic library (libjava).
Error: libjvm.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/.
If you are using a self-built version of Scilab, update the script bin/scilab to provide the path to the JVM.
The problem might be related to SELinux. Try to deactivate it.
Please also check that you are not trying to run Scilab 64 bits on a 32 bits system (or vice versa).

Scilab cannot open JVM library.

Then I export JAVA_HOME with correct path and scilab works.

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

Thanks for the time, sorry for my english, and I hope that the report is correct

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-rc4-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_CO.utf8, LC_CTYPE=es_CO.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages scilab depends on:
ii  scilab-cli       5.3.3-2
ii  scilab-full-bin  5.3.3-2

Versions of packages scilab recommends:
ii  scilab-doc  5.3.3-2

Versions of packages scilab suggests:
pn  scilab-doc-fr     <none>
pn  scilab-doc-ja     <none>
pn  scilab-doc-pt-br  <none>

-- no debconf information





More information about the debian-science-maintainers mailing list