May I install elasticsearch 5.2.2 on Windows 10?
Yes, you should be able to install all versions of Elasticsearch on Windows
thank you for your answer
I have been trying to install on my laptop but when trying to run the file elasticsearch.bat I get the error "the syntax of the command is not correct"
Thank you for any help
Gilberto Caviativa writes:
I have been trying to install on my laptop but when trying to run the
file elasticsearch.bat I get the error "the syntax of the command is
not correct"
Can you paste in exactly what commands you are running to start
Elasticsearch?
Have you installed Java as per the following link: https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html
Once installed, create the environment variable with the following Powershell command:
$env:JAVA_HOME = "c:\Program files\Java\you_java_version"
Once done, try running elasticsearch (https://www.elastic.co/guide/en/elasticsearch/reference/current/windows.html#windows-running)
or install as a service (https://www.elastic.co/guide/en/elasticsearch/reference/current/windows.html#windows-service)
