# Problems Installing Elasticsearch (Windows 10)

**URL:** <https://discuss.elastic.co/t/problems-installing-elasticsearch-windows-10/118258>\
**Category:** Elasticsearch\
**Created:** [February 2, 2018, 4:52pm UTC](https://discuss.elastic.co/t/problems-installing-elasticsearch-windows-10/118258 "2018-02-02T16:52:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danish\_Tamboli](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@Danish\_Tamboli](https://discuss.elastic.co/u/Danish_Tamboli)\
**Post date:** [February 2, 2018, 4:52pm UTC](https://discuss.elastic.co/t/problems-installing-elasticsearch-windows-10/118258/1 "2018-02-02T16:52:41Z")

</div>

I'm currently using jdk1.8.0\_161 and attached is a screenshot of my env variables

![elasticQuery](https://us1.discourse-cdn.com/elastic/original/3X/2/1/21b458084f54cb4e896ff81b44ec34befda7ebd0.jpg)

I'm getting the following error,

![elasticQuery2](https://us1.discourse-cdn.com/elastic/original/3X/6/e/6e7d5d553dab04c5c96c428e64a21ca4d73ce7db.jpg)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 2, 2018, 5:37pm UTC](https://discuss.elastic.co/t/problems-installing-elasticsearch-windows-10/118258/2 "2018-02-02T17:37:06Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

I'd recommend putting Java installation in a dir which name does not have any special characters or spaces.

Something like `C:\Apps\Java\jdk1.8.0_161` for example.

Not sure it's the problem though.

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [February 5, 2018, 4:11am UTC](https://discuss.elastic.co/t/problems-installing-elasticsearch-windows-10/118258/3 "2018-02-05T04:11:37Z")

</div>

Your `JAVA_HOME` environment variable value contains leading and trailing double quotes; if you remove the double quotes from the value, all will be good.

---

<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:** [March 5, 2018, 4:12am UTC](https://discuss.elastic.co/t/problems-installing-elasticsearch-windows-10/118258/4 "2018-03-05T04:12:04Z")

</div>

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