# Problem with installing Plugin - no Java detected

**URL:** <https://discuss.elastic.co/t/problem-with-installing-plugin-no-java-detected/200209>\
**Category:** Elasticsearch\
**Created:** [September 19, 2019, 1:28pm UTC](https://discuss.elastic.co/t/problem-with-installing-plugin-no-java-detected/200209 "2019-09-19T13:28:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Keska](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_keska/32/54513_2.png) [@Daniel\_Keska](https://discuss.elastic.co/u/Daniel_Keska)\
**Post date:** [September 19, 2019, 1:28pm UTC](https://discuss.elastic.co/t/problem-with-installing-plugin-no-java-detected/200209/1 "2019-09-19T13:28:40Z")

</div>

When I try install plugin on Ubuntu on Windows 10 ( with the command: sudo bin/elasticsearch-plugin install analysis-stempel) i get the error: could not find java in JAVA\_HOME or bundled at /mnt/c/Users/DXXXX/elasticsearch-7.3.1/jdk/bin/java  
I have all variable paths set, but I do not have java file inside elasticsearch-7.3.1/jdk/bin/..  
I tried to create such a file and paste java.exe there but it didn't work.  
I also tried to download zip and install it using ubuntu - the same result.  
What I am doing wrong? What shoud I check?  
Thank you form help!

---

<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:** [October 17, 2019, 1:28pm UTC](https://discuss.elastic.co/t/problem-with-installing-plugin-no-java-detected/200209/2 "2019-10-17T13:28:43Z")

</div>

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