I’ve installed the ubuntu repo of Scilab 6.1.0 and ive been trying to run it, The error message i get is
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).
I have tried: – running from the cli – running from the launcher
the cli version works
have gone to the forums and checked for the different solutions – deleting the SCIHOME directory. – reinstalling Scilab. – reinstalling from different sources. – purging all the directories related to Scilab and reinstalling.
The Ubuntu package is broken. Please use the official .tar.gz distribution from Scilab site: https://www.scilab.org/download/6.1.0