# Logstash 6.1.1 running logstash.conf file is giving errors on Windows 10

**URL:** <https://discuss.elastic.co/t/logstash-6-1-1-running-logstash-conf-file-is-giving-errors-on-windows-10/115355>\
**Category:** Logstash\
**Created:** [January 12, 2018, 7:48pm UTC](https://discuss.elastic.co/t/logstash-6-1-1-running-logstash-conf-file-is-giving-errors-on-windows-10/115355 "2018-01-12T19:48:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akron](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@akron](https://discuss.elastic.co/u/akron)\
**Post date:** [January 12, 2018, 7:48pm UTC](https://discuss.elastic.co/t/logstash-6-1-1-running-logstash-conf-file-is-giving-errors-on-windows-10/115355/1 "2018-01-12T19:48:40Z")

</div>

I recently installed ES onto my personal pc to test some of the functionality. I'm working on setting up an automatic process for pushing and pulling data from SQL using JDBC; however, after installing logstash (unzipping), I try to run logstash in the bin folder logstash -e input { stdin { } } output { stdout {} } with or without single quotes and I get "could not find java".

I then do java -version and see that I have version 1.8.0\_152. I have already set the JAVA\_HOME variable in Environment variables as a path to the java folder.

I've tried moving the input { stdin { } } output { stdout { } } to a .conf file; however, I receive a new error that jruby is not installed (I see vendor jruby with bat files inside).

Is there something I need to do to do a test of this? Or maybe I need to run differently? What am I missing? This is a Windows 10 machine.

---

<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:** [February 9, 2018, 7:48pm UTC](https://discuss.elastic.co/t/logstash-6-1-1-running-logstash-conf-file-is-giving-errors-on-windows-10/115355/2 "2018-02-09T19:48:41Z")

</div>

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