Installation documentation 1.7 faulty

Just installed elasticsearch 1.7.2 on windows.





elasticsearch my_cluster_name

failed with

Unrecognized option:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

It's copy and paste from the documentation at

It seems that the parameter is passed to the VM and not the elasticsearch. What's wrong? Documentation?

Can you try

elasticsearch.bat my_cluster_name


Er, or whatever it'd look like in windows.

That's what I tried also. Didn't work either. I tried all possibilities. The only parameters that are working are --silent and -s which are directly processed in the elasticsearch.bat

Anyone else using Windows 7?
It's a bummer if one of the first example commands in the installation documentation doesn't work ....

On windows try this:

elasticsearch.bat my_cluster_name

Alternatively you can set the the elasticsearch.yml file.


1 Like

works for me. Thanks.

Somebody needs to upade the elasticseach-docu.