# Logstash does not start; says "could not find jruby in ..."

**URL:** <https://discuss.elastic.co/t/logstash-does-not-start-says-could-not-find-jruby-in/113500>\
**Category:** Logstash\
**Created:** [December 28, 2017, 8:18pm UTC](https://discuss.elastic.co/t/logstash-does-not-start-says-could-not-find-jruby-in/113500 "2017-12-28T20:18:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![enrique3000](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@enrique3000](https://discuss.elastic.co/u/enrique3000)\
**Post date:** [December 28, 2017, 8:18pm UTC](https://discuss.elastic.co/t/logstash-does-not-start-says-could-not-find-jruby-in/113500/1 "2017-12-28T20:18:53Z")

</div>

Best regard. I would like to know why it does not start the Logstash (version 6.1.1) that I have installed locally. After locating in DOS in the directory where I have it installed ("c: \ Elastic Stack \ logstash-6.1.1"), when I give the instruction "bin \ logstash" it produces a message with the following. two lines:

**The system can not find the path specified.**  
**"could not find jruby in c: \ Elastic Stack \ logstash-6.1.1 \ vendor \ jruby"**

Also, if located in the directory of the installation I give the instruction "bin \ logstash -e 'input {stdin {}} output {stdout {}}'" (to test the installation), it produces the same error message with the same two lines that I already indicated.

Previously I have already started both 'Elasticsearch' (version 6.1.0) and 'kibana' (version 6.1.1). I have Windows 7 Home Basic operating system.

I'm just beginning to know and use these tools. The next thing I have planned to do is install 'Beats'.

I would like to know what is the reason why Logstash does not start, what I am doing wrong or what I need to do.

I am very grateful to you in advance for your collaboration.

---

<div class="post-metadata">

**Author:** ![enrique3000](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@enrique3000](https://discuss.elastic.co/u/enrique3000)\
**Post date:** [December 28, 2017, 9:58pm UTC](https://discuss.elastic.co/t/logstash-does-not-start-says-could-not-find-jruby-in/113500/2 "2017-12-28T21:58:42Z")

</div>

Hola a todos. Investigando y ojeando en internet, encontré que el problema era porque el primer directorio de la ruta contenía un espacio en blanco; remplacé el espacio por un "\_" y ya no tengo el problema motivo de este tema. Gracias de todos modos.

---

<div class="post-metadata">

**Author:** ![Chris\_Lyons](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_lyons/32/48107_2.png) [@Chris\_Lyons](https://discuss.elastic.co/u/Chris_Lyons)\
**Post date:** [December 29, 2017, 8:06pm UTC](https://discuss.elastic.co/t/logstash-does-not-start-says-could-not-find-jruby-in/113500/3 "2017-12-29T20:06:36Z")

</div>

Hi enrique3000- I ran into this on my Windows 2012 R2 server. Logged an issue to logstash github: [https://github.com/elastic/logstash/issues/8901](https://github.com/elastic/logstash/issues/8901)

Hope this fixes your 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:** [January 26, 2018, 8:07pm UTC](https://discuss.elastic.co/t/logstash-does-not-start-says-could-not-find-jruby-in/113500/4 "2018-01-26T20:07:15Z")

</div>

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