S32DS_ARM_Linux_v1.3.bin Install: No Java VM could be found from PATH.

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

S32DS_ARM_Linux_v1.3.bin Install: No Java VM could be found from PATH.

3,533 Views
gaomingliang
Contributor II

 Hi,when I install S32DS_ARM_Linux_v1.3.bin in ubuntu 14.04, I got messege in shell:

Preparing to install...

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.

But I have installed java and java version is:

user@ubuntu:~$ java -version

java version "1.7.0_80"

Java(TM) SE Runtime Environment (build 1.7.0_80-b15)

Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode).

Also I have set necessary  environment variables in .bashrc:

export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_80

export JRE_HOME=${JAVA_HOME}/jre

export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib  

export PATH=${JAVA_HOME}/bin:${JRE_HOME}:${CLASSPATH}:$PATH 

Are any other environment variables that I didn't set or I should add some path in PATH? Or the jre version is not correct? 

Labels (1)
Tags (1)
3 Replies

2,205 Views
jamesmurray
Contributor V

Same problem here trying to install the PowerPC version on Linux.

I downloaded the latest 64bit Oracle Java, changed the symlinks in /usr/bin so that /usr/bin/java points to /usr/java/jre1.8.0_144/bin/java

Checked:
# java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

Now the installer runs ok. (I'm sure the earlier installer worked as-is on my system?)

James

0 Kudos
Reply

2,205 Views
davidewing
Contributor I

I had the same issue. Try installing java 1.8 and see if this resolves the problem.

This solution also seems to be at odds with the latest Yocto release installation which specifically requests openjdk-7.

0 Kudos
Reply

2,205 Views
fchen2
Contributor I

I have the same issue. My environment is

fchen2@T420:~/NXP$ cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

fchen2@T420:~/NXP$ uname -a
Linux T420 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

0 Kudos
Reply