This is a test version of Biostars. For the public version, visit https://www.biostars.org.
java.lang.UnsupportedClassVersionError

Hi

I run this command and see error

java -jar gatk-package-4.6.1.0-local.jar SamSort -I fatherResult.bam -O fatherResultSorted.bam -SO coordinate

Error:

LinkageError occurred while loading main class org.broadinstitute.hellbender.Main
        java.lang.UnsupportedClassVersionError: org/broadinstitute/hellbender/Main 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
java picard gatk

1 answer

The message is quite clear, the verion of java you're using is just too old. https://stackoverflow.com/a/47457251/58082

Log in to answer this question.