NOTE: Nextflow is not tested with Java 1.8.0_382 #4391
Unanswered
ZhuoLi1986
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
(Please follow this template replacing the text between parentheses with the requested information)
Expected behavior and actual behavior
I am using nextflow wf-single-cell on a hpc cluster. I used to work fine, although the wf-single-cell reported bugs, nextflow seems work fine. It just suddenly threw this error to me.
Steps to reproduce the problem
I downloaded nextflow through 'curl -s https://get.nextflow.io | bash'
my 'java -version' and 'javac -version' are both '1.8.0_382'
I got the error when running './nextflow run epi2me-labs/wf-single-cell -w ${OUTPUT}/workspace -profile singularity --fastq wf-single-cell-demo/chr17.fq.gz --kit_name 3prime --kit_version v3 --expected_cells 100 --ref_genome_dir wf-single-cell-demo/ --out_dir ${OUTPUT} --plot_umaps -r v0.2.7'
Program output
NOTE: Nextflow is not tested with Java 1.8.0_382 -- It's recommended the use of version 11 up to 20
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: nextflow/cli/Launcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:621)
Environment
$SHELL --version
):GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)Additional context
(Add any other context about the problem here)
Beta Was this translation helpful? Give feedback.
All reactions