I'm trying to set up Elasticsearch on my Windows machine. I've done it before, but now I'm doing it again with version 7.0.0.
I set JAVA_HOME and can run Elasticsearch successfully with elasticsearch.bat (I can confirm that I get a response when browsing localhost:9200).
Next, I install the service by runnng elasticsearch-service.bat install. The installation succeeds, and I can see the service. However, it won't start. When checking Event Viewer, I see the following error:
The Elasticsearch 7.0.0 (elasticsearch-service-x64) service terminated with the following service-specific error:
I have no idea what this means.
The path to the executable that the service uses is set to:
Can anyone help identify what the problem is here, please?
Thanks in advance.