Re: [Scilab-users] org.scilab.modules.jvm.LibraryPath reporting bug?

2022-09-14 Thread Jean-Yves Baudais

Le 14/09/2022 à 09:09, Stéphane Mottelet a écrit :

Hello Jean-Yves,

I suppose you just updated your Ubuntu dist to 22.04 and have the 
following configuration:


Exact!


Scilab needs a Java 8 runtime. [...]


I see.


wget https://www.scilab.org/download/6.1.1/scilab-6.1.1_x64.exe


I corrected

wget 
https://www.scilab.org/download/6.1.1/scilab-6.1.1.bin.linux-x86_64.tar.gz


I needed to install libtinfo5, because it is libtinfo6 on Ubuntu 22.04. 
And now all work fine.


Thank you,

Jean-Yves
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] org.scilab.modules.jvm.LibraryPath reporting bug?

2022-09-14 Thread Stéphane Mottelet

Hello Jean-Yves,

I suppose you just updated your Ubuntu dist to 22.04 and have the 
following configuration:


Scilab 6.1.1.988271013
Linux 5.15.0-47-generic
Java 11.0.16
OpenJDK Runtime Environment build 11.0.16+8-post-Ubuntu-0ubuntu122.04
OpenJDK 64-Bit Server VM build 11.0.16+8-post-Ubuntu-0ubuntu122.04, 
mixed mode, sharing


Scilab needs a Java 8 runtime. So, the first step should be to install 
OpenJDK8, however, you should use the official Scilab build (containing 
all dependencies, Java 8 runtime, ...) provided as a tar.gz archive:


wget https://www.scilab.org/download/6.1.1/scilab-6.1.1_x64.exe
tar xvf scilab-6.1.1_x64.exe
cd scilab-6.1.0
./bin/scilab

S.

Le 14/09/2022 à 08:42, Jean-Yves Baudais a écrit :

Hello,

I get the following message when I execute Scilab (in the shell window)

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 
method java.lang.ClassLoader.initLibraryPaths()
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

And when I try to open the Edit/Preferences window I get the message 
(in the shell window)


ERROR:  'Impossible de compiler la feuille de style'

with a long message that finishes with

Caused by: java.lang.NullPointerException
at 
org.scilab.modules.preferences.XCommonManager.generateViewDOM(Unknown 
Source)
at 
org.scilab.modules.preferences.XCommonManager.refreshDisplay(Unknown 
Source)
at 
org.scilab.modules.preferences.XConfigManager.displayAndWait(Unknown 
Source)
at 
org.scilab.modules.preferences.XConfigManager.openPreferences(Unknown 
Source)

... 43 more


and nothing appends, the Edit/Preferences window is not opened. (I 
don't know if there is a link between the WARNING message and the 
ERROR one!)


What can I do?

Thanks,

Jean-Yves
___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
https://antispam.utc.fr/proxy/v3?i=MUo0RzFIRTVvbFhYVGloQoloZQj6tvqyhpERsn5z8Z4=cFdGNHFjVENnWDEzUVliSZqa92Ij_tTjl26kvR1TKYhrACGUUvf07czFMIQsHOTl=ODlJNFRJTjZBcWFlaWxQaCWHfP5TwO6tLcRB8udwSmRu_YmmB5TAisRDyjlFqOMc=http%3A//lists.scilab.org/mailman/listinfo/users=b1p5 



--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
http://lists.scilab.org/mailman/listinfo/users