Update: I tried both java 21 and java 23 and we are still getting the entitlement error, so I think we can ignore this question/concern.
I forgot all about this post I created earlier where I noticed that the elasticsearch-entitlement jar does not have a version 17 (nor does it have a 24, fwiw. This may be relevant since I’ve only tried against java 17 and the pre-packaged java 24): 8.18 entitlement-search jar compatible with jre 17?
$ pwd
<...>/elasticsearch-8.19.4/lib/elasticsearch-entitlement-8.19.4/META-INF/versions
$ ls
19 20 21 22 23
This is just interesting at the moment, though it would be nice to get a response on that thread