getting JAVA_HOME is incorrectly set with hadoop

前端 未结 6 1571
灰色年华
灰色年华 2020-12-14 03:48

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

6条回答
  •  天命终不由人
    2020-12-14 04:04

    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"

    .

提交回复
热议问题