Bug 1639973 - Scilab does not start
Summary: Scilab does not start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: scilab
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clément DAVID
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-17 04:03 UTC by Matti Lehti
Modified: 2019-07-17 20:45 UTC (History)
2 users (show)

Fixed In Version: scilab-6.0.2-1.fc28 scilab-6.0.2-1.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-07 20:06:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matti Lehti 2018-10-17 04:03:50 UTC
Description of problem:
Scilab start fails due to some java- errors.
Start in GUI fails without any messages.

Version-Release number of selected component (if applicable):
scilab-6.0.1-2.fc29

How reproducible:
Always

Steps to Reproduce:
1. Fresh install of scilab
2. Open terminal
3. scilab


Actual results:
Could not create a Scilab main class. Error:
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:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 5 more

Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available).

Expected results:
Scilab start.

Additional info:
Scilab 6.0.1 downloaded from scilab.org runs normally in F29.

Comment 1 Fedora Update System 2019-02-26 08:30:50 UTC
scilab-6.0.2-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-046e488cb2

Comment 2 Fedora Update System 2019-02-26 08:32:06 UTC
scilab-6.0.2-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9222b2ed3e

Comment 3 Fedora Update System 2019-02-27 01:54:50 UTC
scilab-6.0.2-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-9222b2ed3e

Comment 4 Fedora Update System 2019-02-27 03:54:29 UTC
scilab-6.0.2-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-046e488cb2

Comment 5 Fedora Update System 2019-03-07 20:06:05 UTC
scilab-6.0.2-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2019-03-07 21:02:10 UTC
scilab-6.0.2-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Michal Kilijanek 2019-03-09 16:55:02 UTC
Issue still occurs on Fedora 29

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/java/jdk1.8.*/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-0.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-5.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-6.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-11.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-11.fc29.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-8.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-8.fc28.x86_64-debug/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b13-0.fc29.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.fc29.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-8-*/ 
Trying to find Java in /etc/alternatives/java_sdk 
Trying to find Java in /etc/alternatives/jre 
Trying to find Java in /usr/java/jdk-11.0.1/ 
Java found in /usr/java/jdk-11.0.1
JAVA_HOME : /usr/java/jdk-11.0.1
Cannot find /usr/java/jdk-11.0.1/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:/home/kili/bin:/usr/local/sbin:/usr/sbin
CLASSPATH : 
EGL_DRIVER : 
LD_LIBRARY_PATH : /usr/share/scilab//bin:/usr/share/scilab//lib/scilab/:/usr/share/scilab//lib64/scilab/:.:/usr/lib/jvm/jre/lib:
DOCBOOK : /usr/share/sgml/docbook/xsl-stylesheets-1.79.2/
/usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory


After creating sudo ln -s /usr/java/jdk-11.0.1/lib/ /usr/java/jdk-11.0.1/lib/amd64

Console output:

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/java/jdk1.8.*/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-0.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-5.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b15-6.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-11.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-11.fc29.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-8.fc28.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-8.fc28.x86_64-debug/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b13-0.fc29.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.fc29.x86_64/ 
Trying to find Java in /usr/lib/jvm/java-8-*/ 
Trying to find Java in /etc/alternatives/java_sdk 
Trying to find Java in /etc/alternatives/jre 
Trying to find Java in /usr/java/jdk-11.0.1/ 
Java found in /usr/java/jdk-11.0.1
JAVA_HOME : /usr/java/jdk-11.0.1
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:/home/kili/bin:/usr/local/sbin:/usr/sbin
CLASSPATH : /usr/share/scilab//modules/core/jar/org.scilab.modules.core.jar
EGL_DRIVER : 
LD_LIBRARY_PATH : /usr/share/scilab//bin:/usr/share/scilab//lib/scilab/:/usr/share/scilab//lib64/scilab/:.:/usr/java/jdk-11.0.1/lib/amd64/:/usr/java/jdk-11.0.1/lib/amd64/server/:/usr/java/jdk-11.0.1/lib/amd64/client/:/usr/java/jdk-11.0.1/lib/amd64/native_threads/:/usr/lib/jvm/jre/lib:
DOCBOOK : /usr/share/sgml/docbook/xsl-stylesheets-1.79.2/
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.scilab.modules.jvm.LibraryPath (file:/usr/share/scilab/modules/jvm/jar/org.scilab.modules.jvm.jar) to field java.lang.ClassLoader.sys_paths
WARNING: Please consider reporting this to the maintainers of org.scilab.modules.jvm.LibraryPath
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Nie uzyskano dostępu do Main Scilab Class:
Exception in thread "main" java.lang.NoClassDefFoundError: org/scilab/modules/core/Scilab
Caused by: java.lang.ClassNotFoundException: org.scilab.modules.core.Scilab
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

Scilab nie mógł utworzyć Scilab Java Main-Class (nie udało się odnaleźć głównej klasy programu Scilab. Sprawdź czy Scilab i dodatkowe moduły są dostępne.).

Comment 8 Clément DAVID 2019-07-17 20:45:27 UTC
Well Scilab 6.0.2 is not compatible with java 11 ; could you try to install set `JAVA_HOME=/usr/lib/jvm/jre-1.8.0/` before launching scilab ?


Note You need to log in before you can comment on or make changes to this bug.