soln:
Type this correct comment “gedit hadoop-env.sh”
Then uncomment the java path and fill it with your correct java path