iamsanjay commented on PR #2682: URL: https://github.com/apache/solr/pull/2682#issuecomment-2404958996
We use Toolchain to enforce the specific version of the tools we want to use. Here are some use cases: 1. If our system's JDK is set to 21, but I want to run a project on a different Java version. 2. If I need a specific Java version from a vendor for all tasks. 3. If I want to run Gradle and the project on different Java versions. In our scenario, if the system is configured with JDK 21, that version will be used to run all tasks for Solr and SolrJ. JDK 21 can generate class files with version 61 without issues. However, if we want SolrJ to compile only with JDK 17, Toolchain can accomplish that. Otherwise, the Java version used by Gradle will be applied globally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org