Elastic Search startup error - “\Common was unexpected at this time.”

后端 未结 6 1886
谎友^
谎友^ 2021-01-31 08:37

I have downloaded and extracted elasticsearch and when I run the batch file \"elasticsearch.bat\' I am getting the following error.

\"\\Common was unexpected at         


        
6条回答
  •  一个人的身影
    2021-01-31 08:52

    I also encountered the same issue while running the batch file "elasticsearch.bat" in windows 10. I set JAVA_HOME using below command and it worked for me.

    set "JAVA_HOME=C:\Program Files\Java\your_jdk_version"

提交回复
热议问题