Closed Astahlke closed 2 years ago
@j23414 and @isugif - still getting this error. Any ideas?
Haha, @Sivanandan and I were also running into that. Nextflow requires Java 11 or greater. We just added openjdk=11
to:
But it's not merged yet. Waiting until new Docker image is published to DockerHub.
If you're on HPC, might be able to add it manually:
conda activate /project/ag100pest/conda_envs/polishCLR
conda install openjdk=11
# Then find the openjdk java executable
find /project/ag100pest/conda_env/polishCLR/ | grep "java$"
JAVA_HOME=`find /project/ag100pest/conda_env/polishCLR/ | grep "java$"`
# Check if nextflow finds java and runs normally, or if you're still getting the error.
nextflow -version
Nevermind, you got it. Yes, it's being added to environment.yml
😄
I can bypass this error by loading the java module on ceres.
Does
envionment.yml
need a fix?