# UNable to install logstash on windows 10

**URL:** <https://discuss.elastic.co/t/unable-to-install-logstash-on-windows-10/107306>\
**Category:** Logstash\
**Created:** [November 12, 2017, 2:20pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-on-windows-10/107306 "2017-11-12T14:20:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Korrapati\_Lokesh\_Kum](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@Korrapati\_Lokesh\_Kum](https://discuss.elastic.co/u/Korrapati_Lokesh_Kum)\
**Post date:** [November 12, 2017, 2:20pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-on-windows-10/107306/1 "2017-11-12T14:20:40Z")

</div>

I have tried creating a config file and I get an error cant find java1.5 or higher.  
java 8 is installed in my laptop

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/2/6267f2f1209f4fea528be079279c1282b9038477.png)

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 12, 2017, 8:36pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-on-windows-10/107306/2 "2017-11-12T20:36:39Z")

</div>

Please don't post screenshots when you can copy/paste the text.

It appears you've set your path to _only_ include the JVM's bin directory (using a syntax I wasn't aware of). Or you've in some other way screwed up your path to not include the system32 directory.

---

<div class="post-metadata">

**Author:** ![Korrapati\_Lokesh\_Kum](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@Korrapati\_Lokesh\_Kum](https://discuss.elastic.co/u/Korrapati_Lokesh_Kum)\
**Post date:** [November 21, 2017, 4:22pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-on-windows-10/107306/3 "2017-11-21T16:22:34Z")

</div>

Adding environment variable as JAVA\_HOME and setting it to java(C:\Program Files\Java\jdk1.8.0\_151) solved the problem

---

<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:** [December 19, 2017, 4:22pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-on-windows-10/107306/4 "2017-12-19T16:22:39Z")

</div>

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