What version of OpenJDK should I be using?

invalid@example.com (Semper Fidelis), Semper Fidelis
Sat, 25 Jan 2025 14:14:11 +0000
Enhanced Search support

OK, I feel really dumb. I am utterly confounded by the number of OpenJDK versions there are. I read a post on another forum where someone stated that Elasticsearch 8 requires Java 17 or later for a certain feature so I thought I'd check my Java version:

Code:

openjdk version "11.0.25" 2024-10-15 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.25.0.9-1) (build 11.0.25+9-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.25.0.9-1) (build 11.0.25+9-LTS, mixed mode, sharing)

I'm running AlmaLinux...