error in running configurationtool.sh

error in running configurationtool.sh

  

When I am running configurationtool.sh file I am getting error JAVA_HOME does not exist as a valid directory:/etc/alternatives/java_sdk_1.8.0

But I configured JAVA_HOME correctly

How have you configured java_home?

What do you get when you run echo $JAVA_HOME? 

João Melo wrote:

How have you configured java_home?

What do you get when you run echo $JAVA_HOME? 



/usr/java/jdk1.8.0_171-amd64/