# Help - can't run logstash with java 1.8.0\_77? (logstash 2.3.4 and 2.3.2)

**URL:** <https://discuss.elastic.co/t/help-cant-run-logstash-with-java-1-8-0-77-logstash-2-3-4-and-2-3-2/63545>\
**Category:** Logstash\
**Created:** [October 20, 2016, 8:43pm UTC](https://discuss.elastic.co/t/help-cant-run-logstash-with-java-1-8-0-77-logstash-2-3-4-and-2-3-2/63545 "2016-10-20T20:43:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arp2500](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@arp2500](https://discuss.elastic.co/u/arp2500)\
**Post date:** [October 20, 2016, 8:43pm UTC](https://discuss.elastic.co/t/help-cant-run-logstash-with-java-1-8-0-77-logstash-2-3-4-and-2-3-2/63545/1 "2016-10-20T20:43:37Z")

</div>

(background: I'm new to logstash and have just installed on CentOS 6.7 with java 1.8.0\_77 installed)

when I attempt to run 'logstash' or even run 'plugin list' all I am seeing is...

_WARNING: Default JAVA\_OPTS will be overridden by the JAVA\_OPTS..._  
_Usage: java..._  
_..._  
_where options include:_  
_..._  
_(Prepend -J in front of these options when using 'jruby' command)_

Do I need to drop back to java 1.7? or am I doing something else wrong?

(after I couldn't get logstash 2.3.4 to work I tried with 2.3.2 with the same results)

thanks in advance, Allen

---

<div class="post-metadata">

**Author:** ![arp2500](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@arp2500](https://discuss.elastic.co/u/arp2500)\
**Post date:** [October 21, 2016, 12:45pm UTC](https://discuss.elastic.co/t/help-cant-run-logstash-with-java-1-8-0-77-logstash-2-3-4-and-2-3-2/63545/2 "2016-10-21T12:45:10Z")

</div>

solved. turns out my env JAVA\_OPTS were set for another software framework/project and they were causing jruby and subsequently logstash not to start. I removed the offending JAVA\_OPTS and logstash now runs.

---

<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:** [July 6, 2017, 4:33am UTC](https://discuss.elastic.co/t/help-cant-run-logstash-with-java-1-8-0-77-logstash-2-3-4-and-2-3-2/63545/3 "2017-07-06T04:33:17Z")

</div>


