RFR: 2112: Update JDK to 21 and Gradle to 8.5 [v5]
Erik Joelsson
erikj at openjdk.org
Mon Dec 4 14:34:13 UTC 2023
On Mon, 4 Dec 2023 07:41:21 GMT, mrcode <duke at openjdk.org> wrote:
> Unsupported Java. Your build is currently configured to use Java 21.0.1 and Gradle 8.5.
>
> Possible solution:
>
> * Use Java 20 as Gradle JVM: Open Gradle settings
> * Open Gradle wrapper settings, change `distributionUrl` property to use compatible Gradle version and reload the project
>
> Why can't I run my project with JDK 21 on Gradle 8.5 final version?
I don't know, it works on all the machines I tried this one before integrating. While working on this I found people saying that at least with Gradle 8.4, if some other error occurred, Gradle would still automatically blame JDK 21 if you were running with it, hiding the actual problems. You could try with `--info` and/or `--stacktrace` to try to get more information about your failure.
-------------
PR Comment: https://git.openjdk.org/skara/pull/1590#issuecomment-1838757991
More information about the skara-dev
mailing list