我如何使Scilab 6.1.0在ubuntu 20.04上运行?

问题描述 投票:0回答:1

我已经安装了Scilab 6.1.0的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).

我尝试过:-从cli运行-从启动器运行

cli版本有效

已经去了论坛并检查了不同的解决方案-删除SCIHOME目录。-重新安装Scilab。-从不同来源重新安装。-清除与Scilab相关的所有目录并重新安装。

java ubuntu scilab ubuntu-20.04
1个回答
0
投票

Ubuntu软件包已损坏。请使用Scilab网站上的官方.tar.gz发行版:https://www.scilab.org/download/6.1.0

© www.soinside.com 2019 - 2024. All rights reserved.