Elastic search java client - co.elastic.clients:elasticsearch-java: and minimum target java road map

We use co.elastic.clients:elasticsearch-java in our application, which currently targets Java 17. We understand the 8.x client requires Java 17 as a minimum.

Does Elastic have a published roadmap or policy for when the minimum Java version of the elasticsearch-java client will be raised (e.g., to Java 21)? We'd like to plan our application's Java upgrade timeline accordingly.

Elastic Stack > Elasticsearch category for assistance.

Hi @manick02,

I've checked with a colleague internally and actually the client 8.x requires Java 8. Meanwhile the 9.x client requires Java 17 at a minimum. We currently we have no visibility on when the version requirement will change, but we don't expect to update it again in version 10.x. So it should stay 17 for the next few years.

Hope that makes sense!

Thanks Carly for the response. It does make sense