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:
/usr/java/jdk1.8.0_171-amd64/
Hi,
In my case, the problem was in the last step of 'Install Oracle's Java SDK' (from the checklist).
After running: > sudo alternatives --config java, I didn't select the right path (/usr/java/jdk1.8.0_*/bin/java).I hope this helps in future cases.