Maybe just what I've seen but Solr usually has users sticking with older versions of Java.
https://solr.apache.org/guide/8_11/solr-system-requirements....
Which is a pain, many products that use Solr as dependency like Sitecore, still lag behind in Solr versions.
https://www.searchstax.com/docs/searchstax-cloud-sitecore-so...
While it mostly works with more recent versions, there is no support if issues cannot be replicated on officially supported versions.