./upgrade.sh: line 85: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el7_5.x86_64/bin/java: No such file or directory
search cancel

./upgrade.sh: line 85: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el7_5.x86_64/bin/java: No such file or directory

book

Article ID: 234416

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

Upgrade from 6.4.0 to 6.4.2 failed with error:

./upgrade.sh: line 85: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el7_5.x86_64/bin/java: No such file or directory

Environment

Release : 6.4.0

Component :

Resolution

It appeared to be an issue with the wrong JAVA_HOME variable. 

 

Advised for them to verify the java path was correct and they were able to move past this error.

 

Verify JAVA_HOME is set correctly by checking

 

echo $JAVA_HOME

java -version

ls -l /usr/lib/jvm/

 

Once set correctly