ElasticSearch won’t install

Trying to install Elasticsearch 7.6 on my Win10 laptop. Getting the error below i've bolded:
C:\WINDOWS\system32>cd C:\ELK Stack\elasticsearch-7.6.0\bin

C:\ELK Stack\elasticsearch-7.6.0\bin>elasticsearch.bat
"could not find java in JAVA_HOME at "C:\Program Files\Java\jdk-13.0.2\bin\bin\java.exe""

My JAVA HOME is in C:\Program Files\Java\jdk-13.0.2\bin\java.exe"

Why is elastic looking in "bin\bin" instead of "bin"?


Your JAVA_HOME should be set to:

C:\Program Files\Java\jdk-13.0.2\

My 2 cents

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.