I wrote a blog post on using various Java runtimes with OpenSearch: Using Different Java Runtimes with OpenSearch · OpenSearch. This should help everyone make sense of what version of OpenSearch is compatible with what JDK and what the plan for 2.0 is (JDK 17).
i agree that LTS JDK releases are the only ones interesting for production. the other versions are at most to play around with them to check out upcoming features (but then you also always use the latest).