0

我下载了 elasticsearch 7.8.0 zip 文件并将其解压缩。当我使用 cd 进入 bin 目录时使用命令提示符,然后键入 elasticsearch.bat 它给了我以下错误。

请建议我适当的解决方案。

Microsoft Windows [Version 10.0.17134.1006]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Windows\system32>d:

D:\>cd  D:\Users\Shivani\Downloads\elasticsearch-7.8.0

D:\Users\Shivani\Downloads\elasticsearch-7.8.0>cd bin

D:\Users\Shivani\Downloads\elasticsearch-7.8.0\bin>elasticsearch.bat
'CALL "C:\Program Files\Java\jdk-13.0.2\bin\java.exe" -cp "D:\Users\Shivani\Downloads\elasticsearch-7.8.0\lib\*" "org.elasticsearch.tools.launchers.TempDirectory"' is not recognized as an internal or external command,
operable program or batch file.
'CALL "C:\Program Files\Java\jdk-13.0.2\bin\java.exe" -cp "D:\Users\Shivani\Downloads\elasticsearch-7.8.0\lib\*" "org.elasticsearch.tools.launchers.JvmOptionsParser" "D:\Users\Shivani\Downloads\elasticsearch-7.8.0\config" || echo jvm_options_parser_failed' is not recognized as an internal or external command,
operable program or batch file.
The filename, directory name, or volume label syntax is incorrect.

D:\Users\Shivani\Downloads\elasticsearch-7.8.0\bin>
4

1 回答 1

0

我认为问题在于 Elastic 7.8 不支持 Jdk 13。尝试使用 11 或根本不使用 jdk(它在下载文件夹中有自己的)。 https://www.elastic.co/de/support/matrix#matrix_jvm

于 2020-07-08T12:31:58.710 回答