Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Masaru Nomiya
Hello, In the Message; Subject: Re: [Scilab-users] error in starting scilab from terminal Message-ID : <04849f94-1e6b-d949-dabe-78811f772...@uni-tuebingen.de> Date & Time: Thu, 2 Mar 2023 12:38:16 +0100 [WE] == Wolfgang Engelmann has written: WE> > WE> > What you have to enter

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Am 02.03.23 um 11:08 schrieb Stéphane Mottelet: Choose "2" not "1081" ! Thanks! Le 02/03/2023 à 10:42, Wolfgang Engelmann a écrit : Am 02.03.23 um 10:25 schrieb Stéphane Mottelet: You need a Java 1.8 jdk to run Scilab. Please follow the following instructions : $ sudo apt-get install

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Stéphane Mottelet
One you have chosen the alternative (check that java -version answers something with 1.8) you don't need to set JAVA_HOME. Did you try to launch Scilab again ? S. Le 02/03/2023 à 12:38, Wolfgang Engelmann a écrit : What you have to enter is the previous number (2 in the table above), not

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Am 02.03.23 um 10:25 schrieb Stéphane Mottelet: You need a Java 1.8 jdk to run Scilab. Please follow the following instructions : $ sudo apt-get install openjdk-8-jdk sudo apt-get install openjdk-8-jdk [sudo] Passwort für wolfgang: Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Thanks, Masaru, but got now echo $JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64 see below between Wolfgang Am 02.03.23 um 11:38 schrieb Masaru Nomiya: Hello, In the Message; Subject: Re: [Scilab-users] error in starting scilab from terminal Message-ID :

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
What you have to enter is the previous number (2 in the table above), not the back number. Maybe even 2 in javac. And put the following in your .bash_profile. I have no bash_profile (Debian) can I create one (via touch?) and where (home? home/wolfgang?)? Wolfgang JAVA_HOME=$(readlink -f

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Stéphane Mottelet
Choose "2" not "1081" ! Le 02/03/2023 à 10:42, Wolfgang Engelmann a écrit : Am 02.03.23 um 10:25 schrieb Stéphane Mottelet: You need a Java 1.8 jdk to run Scilab. Please follow the following instructions : $ sudo apt-get install openjdk-8-jdk sudo apt-get install openjdk-8-jdk [sudo]

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Masaru Nomiya
Hello, In the Message; Subject: Re: [Scilab-users] error in starting scilab from terminal Message-ID : <82590bf9-3e6b-adac-152b-cf39fd9e5...@uni-tuebingen.de> Date & Time: Thu, 2 Mar 2023 10:42:22 +0100 [WE] == Wolfgang Engelmann has written: [...] WE> > $ sudo update-alternatives

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Stéphane Mottelet
You need a Java 1.8 jdk to run Scilab. Please follow the following instructions : $ sudo apt-get install openjdk-8-jdk then $ sudo update-alternatives --config java choose the java 8 line then check that Java 8 is correctly set : $ java -version should yield something like: openjdk version

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Am 02.03.23 um 12:55 schrieb Stéphane Mottelet: One you have chosen the alternative (check that java -version answers something with 1.8) you don't need to set JAVA_HOME. worked! But I have set the path to Did you try to launch Scilab again ? yes, seems to work with 6.1.0 Thanks again

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Stéphane Mottelet
Can you remove the JAVA_HOME definition from your ~/.bash_profile, open a new terminal window, then try to launch Scilab and tell me if it starts ? S. Le 02/03/2023 à 13:57, Wolfgang Engelmann a écrit : Thanks, Masaru, but got now echo $JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64 see below

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Stéphane Mottelet
Le 02/03/2023 à 18:22, Wolfgang Engelmann a écrit : Am 02.03.23 um 16:52 schrieb Stéphane Mottelet: Scilab 6.1.1 (you should upgrade your Debian packages) should start with Java 11. S. Could it be that Scilab 5.5.2 needs java 8? yes I need both Scilab 5.5.2 (for older scilab models) and

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Am 02.03.23 um 14:24 schrieb Stéphane Mottelet: Can you remove the JAVA_HOME definition from your ~/.bash_profile, open a new terminal window, then try to launch Scilab and tell me if it starts ? S. yes, it does start I outcommented the JAVA_HOME definition from your ~/.bash_profile

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Stéphane Mottelet
Scilab 6.1.1 (you should upgrade your Debian packages) should start with Java 11. S. Le 02/03/2023 à 15:32, Wolfgang Engelmann a écrit : Am 02.03.23 um 15:10 schrieb Stéphane Mottelet: Hello Wolfgang, Thank you for using Scilab. Can you precise the exact number of Debian distribution you

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Am 02.03.23 um 15:10 schrieb Stéphane Mottelet: Hello Wolfgang, Thank you for using Scilab. Can you precise the exact number of Debian distribution you have ? uname -v #1 SMP Debian 5.10.162-1 (2023-01-21) and thanks a lot for all your help. Wolfgang From the problems you had I suppose

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Am 02.03.23 um 16:52 schrieb Stéphane Mottelet: Scilab 6.1.1 (you should upgrade your Debian packages) should start with Java 11. S. Could it be that Scilab 5.5.2 needs java 8? I need both Scilab 5.5.2 (for older scilab models) and 6.1.1. Wolfgang Le 02/03/2023 à 15:32, Wolfgang

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Jean-Yves Baudais
Hello, To be sure that all work fine without modifying the java config. of the OS, maybe it is better to install the SCI binary version that contains its own java (if I well understood), quite simple to do: $shell> wget https://www.scilab.org/download/6.1.1/scilab-6.1.1.bin.linux-x86_64.tar.gz

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Masaru Nomiya
Hello, In the Message; Subject: Re: [Scilab-users] error in starting scilab from terminal Message-ID : Date & Time: Thu, 2 Mar 2023 15:34:26 +0100 [JYB] == Jean-Yves Baudais has written: JYB> Hello, JYB> To be sure that all work fine without modifying the java config. of the

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Masaru Nomiya
Hello, In the Message; Subject: Re: [Scilab-users] error in starting scilab from terminal Message-ID : Date & Time: Thu, 2 Mar 2023 15:34:26 +0100 [JYB] == Jean-Yves Baudais has written: JYB> Hello, JYB> To be sure that all work fine without modifying the java config. of the

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Am 02.03.23 um 08:36 schrieb Stéphane Mottelet: Hello, What is your Linux distribution (I guess Ubuntu or Debian ?) and which Scilab version did you install ? Debian and Scilab 6.1.0, sorry, forgot to mention it Wolfgang S. Le 02/03/2023 à 07:27, Wolfgang Engelmann a écrit : If I try

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Stéphane Mottelet
What is the output of java -version on the command line ? S. Le 02/03/2023 à 09:45, Wolfgang Engelmann a écrit : Am 02.03.23 um 08:36 schrieb Stéphane Mottelet: Hello, What is your Linux distribution (I guess Ubuntu or Debian ?) and which Scilab version did you install ? Debian and

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Heinz Nabielek
heinz@Heinzs-iMac ~ % java -version openjdk version "11.0.15" 2022-04-19 OpenJDK Runtime Environment (build 11.0.15+10) OpenJDK 64-Bit Server VM (build 11.0.15+10, mixed mode) System Version: macOS 10.15.7 (19H2026) Kernel Version: Darwin 19.6.0 > On 02.03.2023, at 09:57,

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Wolfgang Engelmann
Am 02.03.23 um 09:57 schrieb Stéphane Mottelet: What is the output of java -version on the command line ? S. java -version openjdk version "11.0.18" 2023-01-17 OpenJDK Runtime Environment (build 11.0.18+10-post-Debian-1deb11u1) OpenJDK 64-Bit Server VM (build

Re: [Scilab-users] error in starting scilab from terminal

2023-03-02 Thread Stéphane Mottelet
The question was for Wolfgang ! Le 02/03/2023 à 10:03, Heinz Nabielek a écrit : heinz@Heinzs-iMac ~ % java -version openjdk version "11.0.15" 2022-04-19 OpenJDK Runtime Environment (build 11.0.15+10) OpenJDK 64-Bit Server VM (build 11.0.15+10, mixed mode) System Version: macOS