I am trying to install elasticsearch on my Ubuntu 16.04 LTS machine. I am following the instructions provided here
After making these 3 steps:
shasum -a 512 -c elasticsearch-6.5.4.deb.sha512
I am trying to execute following command to install the elasticsearch:
sudo dpkg -i elasticsearch-6.5.4.deb
BUT IT SHOWS AN ERROR!!!
It says that I have no java installed or even have no JAVA_HOME environment variable!
But I have installed a Java 11, and also have a JAVA_HOME set! Please see below:
So why is this happening??? What could be the reason of this STRANGE error???
Please feedback ASAP, as this is too urgent!