scilab发送Java主类错误,不想工作



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(对我来说scilabcli可以工作,但GUI不能(

目前Scilab 6.0.2在Ubuntu 18.04.4 LTS下以GUI模式和CLI工作。XCOS也能工作。

开始后有点落后,但这可能是我的设置。

相关内容

  • 没有找到相关文章

最新更新