# Error elastic search wont find java.dll and java SE

**URL:** <https://discuss.elastic.co/t/error-elastic-search-wont-find-java-dll-and-java-se/298540>\
**Category:** Elasticsearch\
**Created:** [March 1, 2022, 4:56pm UTC](https://discuss.elastic.co/t/error-elastic-search-wont-find-java-dll-and-java-se/298540 "2022-03-01T16:56:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom\_Shabtay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tom_shabtay/32/85793_2.png) [@tom\_Shabtay](https://discuss.elastic.co/u/tom_Shabtay)\
**Post date:** [March 1, 2022, 4:56pm UTC](https://discuss.elastic.co/t/error-elastic-search-wont-find-java-dll-and-java-se/298540/1 "2022-03-01T16:56:23Z")

</div>

When I start Elasticsearch won't work and will not find java.dll and java SE and you can see I have both installed (I reinstalled a couple of times and I reinstalled Elasticsearch as well) see command prompt below

```auto
C:\Users\tomsh\OneDrive\שולחן העבודה\Elastic\elasticsearch-8.0.0\bin>elasticsearch.bat
warning: ignoring JAVA_HOME=C:\Program Files\Java\jdk-17.0.2; using bundled JDK
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

C:\Users\tomsh\OneDrive\שולחן העבודה\Elastic\elasticsearch-8.0.0\bin>echo %JAVA_HOME%
C:\Program Files\Java\jdk-17.0.2

```

I have already tried every solution available online (that I found).  
Thanks In Advanced, Tom.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 1, 2022, 10:19pm UTC](https://discuss.elastic.co/t/error-elastic-search-wont-find-java-dll-and-java-se/298540/2 "2022-03-01T22:19:49Z")

</div>

Welcome to our community! 😃

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<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 29, 2022, 10:20pm UTC](https://discuss.elastic.co/t/error-elastic-search-wont-find-java-dll-and-java-se/298540/3 "2022-03-29T22:20:41Z")

</div>

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