I just downloaded hadoop and unzipped the file. but when I run hadoop version command from command prompt , I\'m getting below error . I double check and JAVA_HOME is set t
Issue was with space in JAVA_HOME path . I change the path as below and it started working.
from -
"C:\Program Files\Java\jdk1.8.0_45\bin"
to -
"C:\PROGRA~1\Java\jdk1.8.0_45\bin"
.