# Installation documentation 1.7 faulty

**URL:** <https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716>\
**Category:** Elasticsearch\
**Created:** [September 21, 2015, 3:59pm UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716 "2015-09-21T15:59:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mos/32/4898_2.png) [@mos](https://discuss.elastic.co/u/mos)\
**Post date:** [September 21, 2015, 3:59pm UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716/1 "2015-09-21T15:59:38Z")

</div>

Just installed elasticsearch 1.7.2 on windows.

Running:

```
elasticsearch.bat

```

works!

But

```
elasticsearch --cluster.name my_cluster_name

```

failed with

```
Unrecognized option: --cluster.name
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 [https://www.elastic.co/guide/en/elasticsearch/reference/current/\_installation.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html)

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

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [September 21, 2015, 4:11pm UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716/2 "2015-09-21T16:11:28Z")

</div>

Can you try

```auto
elasticsearch.bat --cluster.name my_cluster_name

```

?

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [September 21, 2015, 4:11pm UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716/3 "2015-09-21T16:11:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mos/32/4898_2.png) [@mos](https://discuss.elastic.co/u/mos)\
**Post date:** [September 21, 2015, 6:31pm UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716/4 "2015-09-21T18:31:22Z")

</div>

> [@nik9000](#):
>
> elasticsearch.bat --cluster.name my\_cluster\_name

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

---

<div class="post-metadata">

**Author:** ![mos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mos/32/4898_2.png) [@mos](https://discuss.elastic.co/u/mos)\
**Post date:** [September 22, 2015, 8:33am UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716/5 "2015-09-22T08:33:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![n0othing](https://avatars.discourse-cdn.com/v4/letter/n/b2d939/32.png) [@n0othing](https://discuss.elastic.co/u/n0othing)\
**Post date:** [September 22, 2015, 3:59pm UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716/6 "2015-09-22T15:59:11Z")

</div>

On windows try this:

```
elasticsearch.bat -Des.cluster.name my_cluster_name

```

Alternatively you can set the cluster.name the elasticsearch.yml file.

Cheers!

---

<div class="post-metadata">

**Author:** ![mos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mos/32/4898_2.png) [@mos](https://discuss.elastic.co/u/mos)\
**Post date:** [September 23, 2015, 7:22am UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716/7 "2015-09-23T07:22:26Z")

</div>

```
-Des.cluster.name=my_cluster_name

```

works for me. Thanks.

Somebody needs to upade the elasticseach-docu.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:48pm UTC](https://discuss.elastic.co/t/installation-documentation-1-7-faulty/29716/8 "2017-07-05T23:48:33Z")

</div>


