# Not able to configure logstash in windows getting jruby error

**URL:** <https://discuss.elastic.co/t/not-able-to-configure-logstash-in-windows-getting-jruby-error/88099>\
**Category:** Logstash\
**Created:** [June 2, 2017, 2:15pm UTC](https://discuss.elastic.co/t/not-able-to-configure-logstash-in-windows-getting-jruby-error/88099 "2017-06-02T14:15:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srivastavashubhi52](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@srivastavashubhi52](https://discuss.elastic.co/u/srivastavashubhi52)\
**Post date:** [June 2, 2017, 2:15pm UTC](https://discuss.elastic.co/t/not-able-to-configure-logstash-in-windows-getting-jruby-error/88099/1 "2017-06-02T14:15:59Z")

</div>

Hi, I am not able to configure logstash in windows getting the below jruby error.  
Error: Could not find or load main class org.jruby.Main  
Please help me out.  
Actually I want to configure logstash with elastic search and want to store log files data to ES through logstash.  
Please provide me solution.

---

<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:** [June 30, 2017, 2:16pm UTC](https://discuss.elastic.co/t/not-able-to-configure-logstash-in-windows-getting-jruby-error/88099/2 "2017-06-30T14:16:17Z")

</div>

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