Closed CorbinFoucart closed 8 months ago
For those who encounter a similar issue, Gradle 7.2 is incompatible with JVM 21. Setting the bash environment to point to a JVM installation lower than 17 allowed the build to proceed.
$ export JAVA_HOME=/path/to/java-11-openjdk-amd64
$./gradlew --version
------------------------------------------------------------
Gradle 7.2
------------------------------------------------------------
Build time: 2021-08-17 09:59:03 UTC
Revision: a773786b58bb28710e3dc96c4d1a7063628952ad
Kotlin: 1.5.21
Groovy: 3.0.8
Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM: 11.0.22 (Ubuntu 11.0.22+7-post-Ubuntu-0ubuntu222.04.1)
OS: Linux 6.5.0-21-generic amd64
and npm run build
was successful. Closing.
Describe the bug Following the build instructions,
npm gradle
generates a versioning incompatibility for JVMExpected behavior Following the repo README, I expect the build process to succeed
Additional context My build script is the following (to create the layout described in the README):
which fails with
when I check the versioning: