# Could not find any executable java binary elasticsearch windows

**URL:** <https://discuss.elastic.co/t/could-not-find-any-executable-java-binary-elasticsearch-windows/90698>\
**Category:** Elasticsearch\
**Created:** [June 24, 2017, 7:04am UTC](https://discuss.elastic.co/t/could-not-find-any-executable-java-binary-elasticsearch-windows/90698 "2017-06-24T07:04:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay\_panchali](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jay\_panchali](https://discuss.elastic.co/u/jay_panchali)\
**Post date:** [June 24, 2017, 7:04am UTC](https://discuss.elastic.co/t/could-not-find-any-executable-java-binary-elasticsearch-windows/90698/1 "2017-06-24T07:04:12Z")

</div>

Hi Team ,

I am seeing above error while run this command from extracted files "C:\Users\admin\Downloads\Compressed\elasticsearch-5.4.2\elasticsearch-5.4.2\bin\elasticsearch

" ![](https://us1.discourse-cdn.com/elastic/original/3X/5/c/5c38915aec2a448e05bf34f8cfe3d31278f8649f.jpg)

I have reinstall Java 8 or above. and set following environment variables see below images  
 ![](https://us1.discourse-cdn.com/elastic/original/3X/2/f/2fa3a06d05941f7cd1f706ef5f8473951ff477b9.jpg)

![](https://us1.discourse-cdn.com/elastic/original/3X/6/9/69efbe5e61fcdcc0ddc8fd01b6110cd3e3fb25e0.jpg)

After this process i am getting now below error.

![](https://us1.discourse-cdn.com/elastic/original/3X/b/c/bcb4c916cb2639767c78d230e1e9b256d4acff5d.jpg)

I am not able to figure out what is issue. Please guide me exact steps.

---

<div class="post-metadata">

**Author:** ![Julien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien/32/19688_2.png) [@Julien](https://discuss.elastic.co/u/Julien)\
**Post date:** [June 24, 2017, 8:46pm UTC](https://discuss.elastic.co/t/could-not-find-any-executable-java-binary-elasticsearch-windows/90698/2 "2017-06-24T20:46:49Z")

</div>

Hi Jay,

You have a typo where you have set JAVA\_HOME to :  
C:\Program Files (x86)\Java\jre1.8.0\_131"

The error message also contains the unwanted double-quote character

Remove the double-quote and reopen cmd... On the command line just run : echo %JAVA\_HOME% to be sure the path looks correct  
Also in PATH you could use %JAVA\_HOME%\bin instead of specifying the full path... Then try : where JAVA; this should list the java.exe located in the JRE you are trying to use, this would also be another way to validate any typo

Thanks  
Julien

---

<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 22, 2017, 8:46pm UTC](https://discuss.elastic.co/t/could-not-find-any-executable-java-binary-elasticsearch-windows/90698/3 "2017-07-22T20:46:56Z")

</div>

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