Windows上的Elasticsearch:elasticsearch.bat会引发错误

时间:2016-09-12 09:59:40

标签: elasticsearch

我正在尝试在Windows计算机上安装Elasticsearch。我有正确版本的Java并下载和解压缩Elasticsearch。当我尝试运行elasticsearch.bat时,它将无法运行。我收到以下错误:

./elasticsearch.bat: line 1: @echo: command not found
./elasticsearch.bat: line 3: SETLOCAL: command not found
./elasticsearch.bat: line 4: TITLE: command not found
./elasticsearch.bat: line 6: SET: command not found
./elasticsearch.bat: line 8: :loop: command not found
./elasticsearch.bat: line 9: syntax error near unexpected token `('
./elasticsearch.bat: line 9: `FOR /F "usebackq tokens=1* delims= " %%A IN (!params!) DO ('

我不知道这些错误来自哪里,如果有人能告诉我为什么会发生这种错误以及如何解决这些错误,我将非常感激。

0 个答案:

没有答案