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
Your JAVA_HOME should not include bin. Change it from
JAVA_HOME
bin
"C:\Program Files\Java\jdk1.8.0_45\bin"
to
"C:\Program Files\Java\jdk1.8.0_45"
And you can add it to your path (in Windows) like
set "PATH=%PATH%;%JAVA_HOME%\bin"