# Unable to install logstash kusto plugin using 6.4.2 version

**URL:** <https://discuss.elastic.co/t/unable-to-install-logstash-kusto-plugin-using-6-4-2-version/302857>\
**Category:** Logstash\
**Created:** [April 20, 2022, 11:12pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-kusto-plugin-using-6-4-2-version/302857 "2022-04-20T23:12:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![newelastic](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@newelastic](https://discuss.elastic.co/u/newelastic)\
**Post date:** [April 20, 2022, 11:12pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-kusto-plugin-using-6-4-2-version/302857/1 "2022-04-20T23:12:59Z")

</div>

Hello,

I'm using logstash 6.4.2 version and trying to install kusto plugin. Logstash is throwing an error

```auto
bin/logstash-plugin install logstash-output-kusto

```

```auto
Cannot find Java 1.5 or higher.

```

But, my machine has Java 8. I tried copying jdk folder to logstash folder, still the same. Anything else required to install this plugin using logstash 6.4.2? I did check this plugin is supported with logstash 6+ versions.

---

<div class="post-metadata">

**Author:** ![newelastic](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@newelastic](https://discuss.elastic.co/u/newelastic)\
**Post date:** [April 20, 2022, 11:19pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-kusto-plugin-using-6-4-2-version/302857/2 "2022-04-20T23:19:19Z")

</div>

I figured out logstash lower versions like 6+ requires JAVA\_HOME environment variable to be setup. Otherwise, the plugins cannot be installed. But, in higher versions of logstash it looks like it's working without environment variable.

Resolved this by adding JAVA\_HOME to environment variables PATH location.

---

<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:** [May 18, 2022, 11:19pm UTC](https://discuss.elastic.co/t/unable-to-install-logstash-kusto-plugin-using-6-4-2-version/302857/3 "2022-05-18T23:19:25Z")

</div>

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