# Logstash 8.19.x is required which java 17 or Java 21

**URL:** https://discuss.elastic.co/t/logstash-8-19-x-is-required-which-java-17-or-java-21/386036
**Category:** Logstash
**Created:** [April 27, 2026, 5:29am UTC](https://discuss.elastic.co/t/logstash-8-19-x-is-required-which-java-17-or-java-21/386036 "2026-04-27T05:29:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Siddhartha](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@Siddhartha](https://discuss.elastic.co/u/Siddhartha)
#### Post date: [April 27, 2026, 5:29am UTC](https://discuss.elastic.co/t/logstash-8-19-x-is-required-which-java-17-or-java-21/386036/1 "2026-04-27T05:29:48Z")

</div>

Logstash 8.19.x is required which java 17 or Java 21

though JDK 21 is bundled with it

---

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [April 27, 2026, 6:32am UTC](https://discuss.elastic.co/t/logstash-8-19-x-is-required-which-java-17-or-java-21/386036/2 "2026-04-27T06:32:35Z")

</div>

LS works perfectly with the bundled version. If you want to forward the requirements to other team i.e administrators, send them LS release notes.

---

<div class="post-metadata">

### Author: ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)
#### Post date: [April 27, 2026, 7:06am UTC](https://discuss.elastic.co/t/logstash-8-19-x-is-required-which-java-17-or-java-21/386036/3 "2026-04-27T07:06:23Z")

</div>

> [@Siddhartha](#):
>
> Logstash 8.19.x is required which java 17 or Java 21
> 
> though JDK 21 is bundled with it

Hello @Siddhartha

Welcome to the Community!!

Below documents could be helpful :

> <https://github.com/elastic/logstash/issues/16608>
>
> The current docs for \[Getting Started with Logstash\](https://www.elastic.co/guid…e/en/logstash/current/getting-started-with-logstash.html) \`8.15\` state:
> 
> \`\`\`
> Logstash requires one of these versions:
> 
> Java 11
> Java 17 (default). Check out \[Using JDK 17\](https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html#jdk17-upgrade) for settings info.
> \`\`\`
> 
> Logstash \`8.15\` allows (and in fact defaults to) the use of Java 21 with Logstash
> 
> 
> The documentation for each version, should clearly indicate which versions of Logstash is supported:
> 
> Logstash \`8.15.0\` and up - JDK11, 17 and 21
> Logstash \`9.x\` and up - JDK 17 and 21

> <https://github.com/elastic/logstash/pull/18115>
>
> Update Java version requirements and default
> 
> Related: https://github.com/elas…tic/logstash/issues/16608
> 
> \*\*PREVIEWS:\*\*
> \- https://logstash\_bk\_18115.docs-preview.app.elstc.co/guide/en/logstash/8.19/getting-started-with-logstash.html#ls-jvm
> \- https://logstash\_bk\_18115.docs-preview.app.elstc.co/guide/en/logstash/8.19/getting-started-with-logstash.html#jdk-upgrade

Thanks!!
