Famke Bäuerle
08/15/2025, 9:19 AMERROR ~ nextflow/validation/ValidationPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
I checked java:
$ java --version
openjdk 11.0.9.1-internal 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1-internal+0-adhoc..src)
OpenJDK 64-Bit Server VM (build 11.0.9.1-internal+0-adhoc..src, mixed mode)
This might be to old so I tried following Phils comment here https://nfcore.slack.com/archives/C043FMKUNLB/p1747028719758889?thread_ts=1746767377.673199&cid=C043FMKUNLB but for some reason the error persists even though now I get
$ java --version
openjdk 21.0.8 2025-07-15 LTS
OpenJDK Runtime Environment Temurin-21.0.8+9 (build 21.0.8+9-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.8+9 (build 21.0.8+9-LTS, mixed mode, sharing)
in the same shell where I run nf-test. Does anyone know how to correctly fix this or make nf-test use the sdkman java version?Maxime Garcia
08/15/2025, 9:20 AMFamke Bäuerle
08/15/2025, 9:20 AMFamke Bäuerle
08/15/2025, 9:21 AMsdk install java 17.0.10-temFamke Bäuerle
08/15/2025, 9:23 AM$ nextflow self-update
ERROR: Cannot find Java or it's a wrong version -- please make sure that Java 17 or later (up to 24) is installed
NOTE: Nextflow is trying to use the Java VM defined by the following environment variables:
JAVA_CMD: /home/paifb01/.micromamba/envs/nf/bin/java
JAVA_HOME: /home/paifb01/.micromamba/envs/nfFamke Bäuerle
08/15/2025, 9:28 AMexport JAVA_CMD="/home-link/paifb01/.sdkman/candidates/java/17.0.10-tem/bin/java"
sorry for #rubber-duckMaxime Garcia
08/15/2025, 9:36 AMMaxime Garcia
08/15/2025, 9:36 AM