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
$shell> tar xvfz scilab-6.1.1.bin.linux-x86_64.tar.gz
$shell> ./scilab-6.1.1/bin/scilab
--Jean-Yves
Le 02/03/2023 à 14:42, Wolfgang Engelmann a écrit :
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
Wolfgang
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 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 : <82590bf9-3e6b-adac-152b-cf39fd9e5...@uni-tuebingen.de>
Date & Time: Thu, 2 Mar 2023 10:42:22 +0100
[WE] == Wolfgang Engelmann <engelm...@uni-tuebingen.de> has written:
[...]
WE> > $ sudo update-alternatives --config java
WE> sudo update-alternatives --config java
WE> Es gibt 2 Auswahlmöglichkeiten für die Alternative java (welche
WE> /usr/bin/java bereitstellen).
WE> Auswahl Pfad
WE> Priorität Status
WE> ------------------------------------------------------------
WE> * 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111
WE> automatischer Modus
WE> 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111
WE> manueller Modus
WE> 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081
WE> manueller Modus
WE> Drücken Sie die Eingabetaste, um die aktuelle Wahl[*]
beizubehalten,
WE> oder geben Sie die Auswahlnummer ein:
WE> Drücken Sie die Eingabetaste, um die aktuelle Wahl[*]
beizubehalten,
WE> oder geben Sie die Auswahlnummer ein: 1081
WE> Es gibt 2 Auswahlmöglichkeiten für die Alternative java (welche
WE> /usr/bin/java bereitstellen).
WE> Auswahl Pfad
WE> Priorität Status
WE> ------------------------------------------------------------
WE> * 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111
WE> automatischer Modus
WE> 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111
WE> manueller Modus
WE> 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081
WE> manueller Modus
WE> entering 1081 does not help; leads again to the chosing
The installation of java is complete, with configuration issues
remaining.
You must use update-alternatives for java and javac.
$ sudo update-alternatives --config java
$ sudo update-alternatives --config javac
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.
JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JAVA_HOME
Then, execute as follows
$ source ~/.bash_profile
After this , by
$ echo $JAVA_HOME
###############
wolfgang@Fuji:~$ echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-amd64
in my .bash_profile is:
JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JAVA_HOME
#############
Confirm that it returns following
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0
This completes the JAVA setup.
Regards.
---
┏━━┓彡 野宮 賢 mail-to: nomiya @
lake.dti.ne.jp
┃\/彡
┗━━┛ "A bachelor’s degree still holds prestige as a ticket to the
middle class, but its value has received increasing
scrutiny.
In the last several years, rising tuition and student
loan debt
have led more Americans to reconsider an investment in
postsecondary education."
--
Washington Post --
_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users
This email and any attachments are intended solely for the use of the
individual or entity to whom it is addressed and may be confidential
and/or privileged.
If you are not one of the named recipients or have received this
email in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete
this email and all attachments,
(iii) Dassault Systèmes does not accept or assume any liability or
responsibility for any use of or reliance on this email.
Please be informed that your personal data are processed according to
our data privacy policy as described on our website. Should you have
any questions related to personal data protection, please contact 3DS
Data Protection Officer https://www.3ds.com/privacy-policy/contact/
_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users
This email and any attachments are intended solely for the use of the
individual or entity to whom it is addressed and may be confidential
and/or privileged.
If you are not one of the named recipients or have received this email
in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete
this email and all attachments,
(iii) Dassault Systèmes does not accept or assume any liability or
responsibility for any use of or reliance on this email.
Please be informed that your personal data are processed according to
our data privacy policy as described on our website. Should you have
any questions related to personal data protection, please contact 3DS
Data Protection Officer https://www.3ds.com/privacy-policy/contact/
--
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: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users
This email and any attachments are intended solely for the use of the
individual or entity to whom it is addressed and may be confidential
and/or privileged.
If you are not one of the named recipients or have received this email
in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this
email and all attachments,
(iii) Dassault Systèmes does not accept or assume any liability or
responsibility for any use of or reliance on this email.
Please be informed that your personal data are processed according to
our data privacy policy as described on our website. Should you have any
questions related to personal data protection, please contact 3DS Data
Protection Officer https://www.3ds.com/privacy-policy/contact/
_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users
This email and any attachments are intended solely for the use of the
individual or entity to whom it is addressed and may be confidential
and/or privileged.
If you are not one of the named recipients or have received this email
in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this
email and all attachments,
(iii) Dassault Systèmes does not accept or assume any liability or
responsibility for any use of or reliance on this email.
Please be informed that your personal data are processed according to
our data privacy policy as described on our website. Should you have any
questions related to personal data protection, please contact 3DS Data
Protection Officer https://www.3ds.com/privacy-policy/contact/
_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users
This email and any attachments are intended solely for the use of the
individual or entity to whom it is addressed and may be confidential and/or
privileged.
If you are not one of the named recipients or have received this email in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this email
and all attachments,
(iii) Dassault Systèmes does not accept or assume any liability or
responsibility for any use of or reliance on this email.
Please be informed that your personal data are processed according to our data
privacy policy as described on our website. Should you have any questions
related to personal data protection, please contact 3DS Data Protection Officer
https://www.3ds.com/privacy-policy/contact/