windows 10上的安装elasticsearch 7.8.0出现错误,因为TempDirectory和JVMPar



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

请给我推荐合适的解决方案。

Microsoft Windows [Version 10.0.17134.1006]
(c) 2018 Microsoft Corporation. All rights reserved.
C:Windowssystem32>d:
D:>cd  D:UsersShivaniDownloadselasticsearch-7.8.0
D:UsersShivaniDownloadselasticsearch-7.8.0>cd bin
D:UsersShivaniDownloadselasticsearch-7.8.0bin>elasticsearch.bat
'CALL "C:Program FilesJavajdk-13.0.2binjava.exe" -cp "D:UsersShivaniDownloadselasticsearch-7.8.0lib*" "org.elasticsearch.tools.launchers.TempDirectory"' is not recognized as an internal or external command,
operable program or batch file.
'CALL "C:Program FilesJavajdk-13.0.2binjava.exe" -cp "D:UsersShivaniDownloadselasticsearch-7.8.0lib*" "org.elasticsearch.tools.launchers.JvmOptionsParser" "D:UsersShivaniDownloadselasticsearch-7.8.0config" || 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:UsersShivaniDownloadselasticsearch-7.8.0bin>

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

相关内容

最新更新