# 8.18 entitlement-search jar compatible with jre 17?

**URL:** <https://discuss.elastic.co/t/8-18-entitlement-search-jar-compatible-with-jre-17/379373>\
**Category:** Elasticsearch\
**Created:** [June 20, 2025, 6:06pm UTC](https://discuss.elastic.co/t/8-18-entitlement-search-jar-compatible-with-jre-17/379373 "2025-06-20T18:06:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![buitcj](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@buitcj](https://discuss.elastic.co/u/buitcj)\
**Post date:** [June 20, 2025, 6:06pm UTC](https://discuss.elastic.co/t/8-18-entitlement-search-jar-compatible-with-jre-17/379373/1 "2025-06-20T18:06:54Z")

</div>

From [Support Matrix | Elastic](https://www.elastic.co/support/matrix), 8.18.x is compatible with Java 17 and we are running an app in JRE 17 that uses the elasticsearch libraries.

Our analysis tools showed that there are classes in here that are for Java 19, 20, 21, 22, and 23, but noticeably absent is version 17. For instance, Java20ElasticsearchEntitlementChecker.class, `.//META-INF/versions/{19,20,21,22,23}/org/elasticsearch/entitlement/runtime/api/Java20ElasticsearchEntitlementChecker.class`

So my question is, since this is a runtime dependency, is using this jar safe? Or is there going to be some operation that tries to use this class and can't find a suitable/usable Java 17 version?

Thanks!
