hadoop-config.xml,
if% JAVA_HOME% \ bin \ java.exe does not exist (echo Error: JAVA_HOME is not installed correctly. echo Update% HADOOP_HOME% \ conf \ hadoop-env.cmd goto: eof)
if your path to the Java environment contains space, for example, "C: \ Program Files \ java \ xxxxx", the word "Program Files" contains a space, so CMD cannot identify
SO can change the path instead.
source
share