PICARD/Gradle build fail
REQUIRED for all errors and issues:
a) GATK version used: Gradle 7.5.1
b) Exact command used:
./gradlew shadowJar
c) Entire program log:
Downloading https://services.gradle.org/distributions/gradle-7.5.1-bin.zip
...........10%............20%...........30%............40%...........50%............60%...........70%............80%...........90%............100%
Welcome to Gradle 7.5.1!
Here are the highlights of this release:
- Support for Java 18
- Support for building with Groovy 4
- Much more responsive continuous builds
- Improved diagnostics for dependency resolution
For more details see https://docs.gradle.org/7.5.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
Could not open settings generic class cache for settings file '/Users/ocheng/Documents/software/picard/settings.gradle' (/Users/ocheng/.gradle/caches/7.5.1/scripts/5p5z6xsuiwaqyt3nrhwu4cspd).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
-
Hi Olivia Cheng
What is your JDK version? It seems that there is some sort of incompatibility between class version and your JDK.
-
My JDK version is 20.
Thank you.
-
You may need to switch back to version 17 to make sure that you are using the supported build environment.
Please sign in to leave a comment.
3 comments