scilab 发送 java main-class 错误并且不想工作

scilab sending java main-class error and doesn't wanna work

scilab 两周前工作得很好,但现在在我更新软件后 ubuntu 如果我尝试打开它没有任何反应,如果我尝试使用终端打开它我得到这个错误

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
Could not access to the Main Scilab Class:
Exception in thread "main" java.lang.ExceptionInInitializerError
    at org.scilab.modules.localization.Messages.gettext(Unknown Source)
    at org.scilab.modules.commons.xml.XConfiguration.<clinit>(Unknown Source)
    at org.scilab.modules.core.Scilab.<clinit>(Unknown Source)
Caused by: java.lang.NullPointerException
    at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2646)
    at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
    at java.base/java.lang.System.loadLibrary(System.java:1870)
    at org.scilab.modules.localization.MessagesJNI.<clinit>(Unknown Source)
    ... 3 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).

我尝试重新安装它并重新安装 java 但仍然无效

我遇到了同样的问题。谷歌搜索后我发现这个错误已在 Scilab 6.0.2 中修复。

您可以在这里下载:

https://www.scilab.org/download/6.0.2

Scilab 的当前版本,您可以从

sudo apt-get scilab

是 6.0.1(对我来说 scilab-cli 可以用,但 GUI 不行)

目前 Scilab 6.0.2 在 Ubuntu 18.04.4 LTS 下以 GUI 模式和 CLI 运行。 XCOS 也可以。

启动后有点卡顿,但可能是我的设置问题。