gpt4 book ai didi

java - scilab 发送 java 主类错误并且不想工作

转载 作者:行者123 更新时间:2023-12-01 17:11:33 24 4
gpt4 key购买 nike

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 也可以工作。

启动后有点滞后,但这可能是我的设置。

关于java - scilab 发送 java 主类错误并且不想工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61426014/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com