I have installed jdk1.8.0 manually from the oracle website.
I have followed the steps here on Digital Ocean.
When I executed
java -version I got this result:-
bash: /usr/bin/java: No such file or directory
A symbolic link java is present in
which is linked to another symbolic link java present in
/etc/alternatives/and this link points to
I have set environment variables:- PATH,JAVA_HOME in the files
/etc/profile. Still I am getting
No such file or directory.
Actually I want to install hadoop and for this the first step is to install java. I am using Ubuntu 14.04