# Not able to install Elasticsearch 6.7 - Windows 10

**URL:** <https://discuss.elastic.co/t/not-able-to-install-elasticsearch-6-7-windows-10/174181>\
**Category:** Elasticsearch\
**Created:** [March 27, 2019, 5:28pm UTC](https://discuss.elastic.co/t/not-able-to-install-elasticsearch-6-7-windows-10/174181 "2019-03-27T17:28:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticgirl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticgirl/32/81961_2.png) [@elasticgirl](https://discuss.elastic.co/u/elasticgirl)\
**Post date:** [March 27, 2019, 5:28pm UTC](https://discuss.elastic.co/t/not-able-to-install-elasticsearch-6-7-windows-10/174181/1 "2019-03-27T17:28:16Z")

</div>

New to Elasticsearch, want to try it out and configure it on my workstation Windows 10.

Here is the value of JAVA\_HOME :  
C:\Program Files (x86)\Java\jre1.8.0\_191

... and here is java -version  
java version "1.8.0\_191"  
Java(TM) SE Runtime Environment (build 1.8.0\_191-b12)  
Java HotSpot(TM) Client VM (build 25.191-b12, mixed mode)

When I run the elasticsearch.bat  
I get the following error:  
\Java\jre1.8.0\_191\bin\java.exe" -cp "!ES\_CLASSPATH!" "org.elasticsearch.tools.launchers.TempDirectory""` was unexpected at this time.

Please help.

---

<div class="post-metadata">

**Author:** ![HenningAndersen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henningandersen/32/48188_2.png) [@HenningAndersen](https://discuss.elastic.co/u/HenningAndersen)\
**Post date:** [March 28, 2019, 9:38am UTC](https://discuss.elastic.co/t/not-able-to-install-elasticsearch-6-7-windows-10/174181/2 "2019-03-28T09:38:11Z")

</div>

Hi @elasticgirl,

could look like you have run into something similar to:

> <https://github.com/elastic/elasticsearch/issues/30606>

I think the trigger of the problem is the parenthesis in JAVA\_HOME. A workaround might be to install a 64 bit version of java instead to avoid parenthesis in the path.

---

<div class="post-metadata">

**Author:** ![elasticgirl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticgirl/32/81961_2.png) [@elasticgirl](https://discuss.elastic.co/u/elasticgirl)\
**Post date:** [March 28, 2019, 12:45pm UTC](https://discuss.elastic.co/t/not-able-to-install-elasticsearch-6-7-windows-10/174181/3 "2019-03-28T12:45:08Z")

</div>

Actually, yes that worked. I uninstall java and the jdk. And re-installed making sure it was the 64bit version.

---

<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:** [April 25, 2019, 12:45pm UTC](https://discuss.elastic.co/t/not-able-to-install-elasticsearch-6-7-windows-10/174181/4 "2019-04-25T12:45:14Z")

</div>

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