training/hello-nextflow -> nextflow run hello-world.nf
ERROR: Cannot find Java or it's a wrong version -- please make sure that Java 8 or later (up to 22) is installed
NOTE: Nextflow is trying to use the Java VM defined by the following environment variables:
JAVA_CMD: /usr/local/sdkman/candidates/java/current/bin/java
JAVA_HOME: /usr/local/sdkman/candidates/java/current
I get the following error when I try to run the hello-world.nf program through the training codespace. How do I resolve this issue?