Logstash 8.19.x is required which java 17 or Java 21
though JDK 21 is bundled with it
Rios
(Rios)
April 27, 2026, 6:32am
2
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.
Hello @Siddhartha
Welcome to the Community!!
Below documents could be helpful :
opened 07:16PM - 28 Oct 24 UTC
closed 02:31PM - 09 Sep 25 UTC
docs
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
8.19 ← karenzone-jdk-8.19
opened 08:57PM - 04 Sep 25 UTC
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!!