uschindler edited a comment on pull request #502: URL: https://github.com/apache/solr/pull/502#issuecomment-1006953864
Works fine! With alternate toolchain: ``` $ gradlew clean :solr:solrj:jar > Task :altJvmWarning NOTE: Alternative java toolchain will be used for compilation and tests: Project will use 18 (OpenJDK 18-ea+26-1787, home at: C:\Program Files\Java\jdk-18) Gradle runs with 11 (Eclipse Adoptium JDK 11.0.13+8, home at: C:\Program Files\Java\jdk-11.0.13) > Task :errorProneSkipped WARNING: errorprone disabled (won't work with JDK 18 if used as alternative java toolchain) > Task :solr:solrj:compileJava Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. BUILD SUCCESSFUL in 23s 33 actionable tasks: 25 executed, 8 up-to-date ``` With plain JDK-17 as JAVA_HOME: ``` $ java -version openjdk version "17" 2021-09-14 OpenJDK Runtime Environment (build 17+35-2724) OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing) $ gradlew clean :solr:solrj:jar Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details > Task :solr:solrj:compileJava Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. BUILD SUCCESSFUL in 23s 33 actionable tasks: 25 executed, 8 up-to-date ``` -- 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