I had the same issue on Windows. I updated the JAVA_HOME and PATH to point to JDK 21. Since I have multiple JDKs installed, the order in PATH is important, as only the first path to a JDK directory is taken into account by IntelliJ.
I also updated the Gradle JVM under Build, Execution, Deployment -> Build Tools -> Gradle to use the same JDK. For those who will backport changes to 9x it may be very time consuming switching everything again and restarting the IDE. I am wondering if this is a use case for toolchain resolvers. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org For additional commands, e-mail: dev-h...@solr.apache.org