[ https://issues.apache.org/jira/browse/SOLR-16685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697629#comment-17697629 ]
David Smiley commented on SOLR-16685: ------------------------------------- Just want to suggest that this sort of thing start off in the dev list and then evolve into a JIRA issue once it's more validated/confirmed. At a glance it seems untrue -- we have CI running with JDK 17 so not saying there isn't a problem to be fixed or better docs/errors or something but it's a strong clue there is an environment (user setup) issue. > Gradle erroring out with JDK17 > ------------------------------ > > Key: SOLR-16685 > URL: https://issues.apache.org/jira/browse/SOLR-16685 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Ishan Chattopadhyaya > Priority: Major > > On a fresh install of Fedora 37, Gradle is erroring out. > {code} > [ishan@fedora solr] $ ./gradlew compile > Exception in thread "main" java.lang.IllegalArgumentException: error: release > version 11 not supported > at > jdk.compiler/com.sun.tools.javac.main.Arguments.reportDiag(Arguments.java:889) > at > jdk.compiler/com.sun.tools.javac.main.Arguments.handleReleaseOptions(Arguments.java:311) > at > jdk.compiler/com.sun.tools.javac.main.Arguments.processArgs(Arguments.java:350) > at > jdk.compiler/com.sun.tools.javac.main.Arguments.init(Arguments.java:246) > at > jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:191) > at > jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:119) > at jdk.compiler/com.sun.tools.javac.launcher.Main.compile(Main.java:381) > at jdk.compiler/com.sun.tools.javac.launcher.Main.run(Main.java:189) > at jdk.compiler/com.sun.tools.javac.launcher.Main.main(Main.java:132) > ERROR: Something went wrong. Make sure you're using Java 11 - 19. > [ishan@fedora solr] $ java -version > openjdk version "17.0.6" 2023-01-17 > OpenJDK Runtime Environment (Red_Hat-17.0.6.0.10-1.fc37) (build 17.0.6+10) > OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.10-1.fc37) (build 17.0.6+10, mixed > mode, sharing) > [ishan@fedora solr] $ echo $JAVA_HOME > /usr/lib/jvm/java-17-openjdk-17.0.6.0.10-1.fc37.x86_64 > {code} > Anyone has a clue please, before I start looking? -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org