I think in general it is advise-able to use the most recent stable version of Java you can support. I would even go further as to say that you might want to look into Java 21, as it is a Java LTS version and Lucene 10 will target this version (when Solr 10 releases) and it carries with it some performance benefits related to Project Panama. In fact Uwe Schnidler has a recent talk on this topic of Java 21 and Lucene (https://www.youtube.com/watch?v=4RxkahnUBvg)
-Kevin From: users@solr.apache.org At: 06/24/25 06:49:52 UTC-4:00To: users@solr.apache.org Subject: Recommendation Regarding Java Version for Solr 9.7 in SolrCloud Setup Dear Solr Community, I am currently in the process of setting up a SolrCloud environment using Solr 9.7 and Java 11. While reviewing the official documentation, I noticed that Java 17 is the recommended version. Given this, I would like to ask: Would it be advisable to upgrade to Java 17 at this point? I assume that using the recommended version may offer better security, stability, and compatibility, and could also be beneficial when seeking support from the community. I would greatly appreciate any insights or recommendations you could share. Thank you very much for your time and support.