Problem regarding installation of S32 Design Studio for Vision in Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem regarding installation of S32 Design Studio for Vision in Linux

1,773 Views
md_anayatullah
Contributor II

Hello, I am trying to install S32 Design Studio for vision in Linux and facing the following error: Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program.

The command i have used to install S32 Design Studio for vision in Linux is given below:

ll_stmdanay@livinglab-CELSIUS-W550power:~$ nano ~/.bashrc

 

The below two lines i have added in .bashrc to define the path of java:

export PATH=/usr/local/jdk-11/bin:$PATH

export JAVADIR=/usr/local/jdk-11/

ll_stmdanay@livinglab-CELSIUS-W550power:~$ source ~/.bashrc

ll_stmdanay@livinglab-CELSIUS-W550power:~$ cd Downloads

ll_stmdanay@livinglab-CELSIUS-W550power:~/Downloads$ sudo chmod +x ./S32DS_Vision_Linux_v2018.R1_b181126.bin

[sudo] password for ll_stmdanay: ******

ll_stmdanay@livinglab-CELSIUS-W550power:~/Downloads$ sudo ./S32DS_Vision_Linux_v2018.R1_b181126.bin

It will be great help if someone help me to solve this problem.

Best Regards

Anayat

0 Kudos
6 Replies

1,343 Views
yihan_cheng
Contributor II

Hi, you need to remove the current version of java-jdk (sudo apt-get remove openjdk-11-jre), then install openjdk 1.8

Regards

Yihan 

0 Kudos

1,343 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

S32DS Vision requires Java 1.8. OpenJDK runtime is okay. What says your java -version command? 

Jiri 

0 Kudos

1,343 Views
md_anayatullah
Contributor II

Hello Jiri,

My java-version command is:

ll_stmdanay@livinglab-CELSIUS-W550power:~$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
ll_stmdanay@livinglab-CELSIUS-W550power:~$ whereis java
java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz
ll_stmdanay@livinglab-CELSIUS-W550power:~$ which java
/usr/bin/java

0 Kudos

1,343 Views
jiri_kral
NXP Employee
NXP Employee

Hi. 

unfortunately this is unsupported version. You can get the correct one with 

sudo apt-get install openjdk-8-jre

command. 

Hope it helps. 

Jiri

1,343 Views
robert_kaster
Contributor I

Hello Jiri,

I am using Ubuntu and tried installing 11.0.4 and then 11.0.3.

bob@Ubuntu:/etc/devkit$ java -version
java version "11.0.3" 2019-04-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.3+12-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.3+12-LTS, mixed mode)

I tried your suggestion:

sudo apt-get install openjdk-8-jre

Java installed, but S32 still does not install.  Do I need to remove all of the Java installations and then install version 8?

Thanks,

Bob

0 Kudos

1,343 Views
md_anayatullah
Contributor II

Hi Jiri,

I have installed openjdk-8-jre and now able to install S32 Design Studio for Vision on Linux. Thank you very much for your help.

Best Regards

Md Anayatullah

0 Kudos