[Bug 971868] New: error when launching scilab GUI just after the installation
http://bugzilla.opensuse.org/show_bug.cgi?id=971868 Bug ID: 971868 Summary: error when launching scilab GUI just after the installation Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Critical Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: alexandre.zanni@hotmail.fr QA Contact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Build Identifier: Hi, I just installed Scilab (sudo zypper in scilab), the installation showed no errors. But when I want to run Scilab from a normal user I have the error : ``` scilab /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory ``` And when I want to run it as root : ``` sudo scilab Error: unable to open display Attention : Impossible de trouver le package Java '/usr/share/scilab//thirdparty/ecj.jar'. Des problèmes sont survenus pendant le chargement des bibliothèques Java. Pouvant induire des erreurs de Scilab. Veuillez vérifier le fichier SCI/etc/classpath.xml. libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed Impossible de créer une classe principale de Scilab. Erreur : Exception in thread "main" java.lang.NoClassDefFoundError: com/artenum/rosetta/ui/Console at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.<init>(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.getConsole(Unknown Source) at org.scilab.modules.core.Scilab.<init>(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.artenum.rosetta.ui.Console at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 5 more Scilab ne peut pas créer la classe principale Java Scilab (Impossible de trouver la classe Scilab principale. Vérifiez si les paquets Scilab et thirdparty sont accessibles). ``` After that I installed the last version of Oracle JDK with the rpm binary ( Java SE Development Kit 8u74) that can be found here : http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-linux-x64.rpm And try to run scilab again but nothing have changed. Reproducible: Always Steps to Reproduce: 1. Open a terminal 2. write `scilab` 3. errors happen Actual Results: As user : ``` scilab /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory ``` As root : ``` sudo scilab Error: unable to open display Attention : Impossible de trouver le package Java '/usr/share/scilab//thirdparty/ecj.jar'. Des problèmes sont survenus pendant le chargement des bibliothèques Java. Pouvant induire des erreurs de Scilab. Veuillez vérifier le fichier SCI/etc/classpath.xml. libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed libEGL warning: DRI2: xcb_connect failed Impossible de créer une classe principale de Scilab. Erreur : Exception in thread "main" java.lang.NoClassDefFoundError: com/artenum/rosetta/ui/Console at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.<init>(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.getConsole(Unknown Source) at org.scilab.modules.core.Scilab.<init>(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.artenum.rosetta.ui.Console at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 5 more Scilab ne peut pas créer la classe principale Java Scilab (Impossible de trouver la classe Scilab principale. Vérifiez si les paquets Scilab et thirdparty sont accessibles). ``` Expected Results: Scilab GUI opening -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
Alexandre Zanni
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
http://bugzilla.opensuse.org/show_bug.cgi?id=971868#c1
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
http://bugzilla.opensuse.org/show_bug.cgi?id=971868#c2
Atri Bhattacharya
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
http://bugzilla.opensuse.org/show_bug.cgi?id=971868#c3
Alexandre Zanni
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
http://bugzilla.opensuse.org/show_bug.cgi?id=971868#c4
Atri Bhattacharya
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
http://bugzilla.opensuse.org/show_bug.cgi?id=971868#c5
--- Comment #5 from Alexandre Zanni
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
http://bugzilla.opensuse.org/show_bug.cgi?id=971868#c6
--- Comment #6 from Atri Bhattacharya
3) Scilab doesn't launch scilab /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory
Sorry, I have nothing. For me, scilab just works on a fresh Leap:42.1 installation, no questions asked. Please see if your java installation isn't somehow borked. e.g., what is the output of: find /usr/ -name libjava.so Does reinstalling java-1_8_0-openjdk-headless (sudo zypper in --force java-1_8_0-openjdk-headless) help? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
http://bugzilla.opensuse.org/show_bug.cgi?id=971868#c7
--- Comment #7 from Alexandre Zanni
find /usr/ -name libjava.so /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjava.so /usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/amd64/libjava.so /usr/java/jre1.8.0_25/lib/amd64/libjava.so So it does exit for openjdk 1.8.0
Does reinstalling java-1_8_0-openjdk-headless (sudo zypper in --force java-1_8_0-openjdk-headless) help? It still doesn't work after force reinstalling.
Maybe my OS is trashed. I'm trying to remove scilab and re-install it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=971868
http://bugzilla.opensuse.org/show_bug.cgi?id=971868#c8
--- Comment #8 from Alexandre Zanni
participants (1)
-
bugzilla_noreply@novell.com