# Logstash alpha4/alpha5/beta1 - Error while installing any plugin on CentOS #5966

**URL:** <https://discuss.elastic.co/t/logstash-alpha4-alpha5-beta1-error-while-installing-any-plugin-on-centos-5966/61607>\
**Category:** Logstash\
**Created:** [September 27, 2016, 1:26pm UTC](https://discuss.elastic.co/t/logstash-alpha4-alpha5-beta1-error-while-installing-any-plugin-on-centos-5966/61607 "2016-09-27T13:26:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shog/32/12138_2.png) [@shog](https://discuss.elastic.co/u/shog)\
**Post date:** [September 27, 2016, 1:26pm UTC](https://discuss.elastic.co/t/logstash-alpha4-alpha5-beta1-error-while-installing-any-plugin-on-centos-5966/61607/1 "2016-09-27T13:26:07Z")

</div>

Hi,

I've already created this as a bug report here, but maybe someone from community was able to address this problem faster: [https://github.com/elastic/logstash/issues/5966](https://github.com/elastic/logstash/issues/5966)

TLDR;

Installation of any plugin on CentOS (both local and remote) will end up with:

```
# /usr/share/logstash/bin/logstash-plugin install --local --no-verify /home/maciej/logstash-filter-translate-3.0.0.gemInstalling logstash-filter-translate
which: no javac in (/usr/local/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.0.0.pre.beta1), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.0.0.pre.beta1'` succeeds before bundling.

```

Was anyone able to sort this out anyhow?

Also [Logstash 5.0.0 beta: translate filter](https://discuss.elastic.co/t/logstash-5-0-0-beta-translate-filter/61439/6) is probably a dup of this.

---

<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:36am UTC](https://discuss.elastic.co/t/logstash-alpha4-alpha5-beta1-error-while-installing-any-plugin-on-centos-5966/61607/2 "2017-07-06T04:36:40Z")

</div>


