Issues while running java -jar gatk-package-4.4.0.0-local.jar
I am facing this error while using the gatk-4.4.0.0
Thank you for your time and help.
Kind regards.
Exact command used:
java -jar gatk-package-4.4.0.0-local.jar SamFormatConverter -I father.sam -O father.bam
Entire error log:
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
• 4,393 views
•
link
1 answer
As GenoMax mentions, you need a newer Java. Latest GATK4 (4.4.0.0) has been built against Java 17 (previously Java 8), so update it, see release notes at https://github.com/broadinstitute/gatk/releases
• 0 views
•
link
Log in to answer this question.
Looks like you need a newer version of Java.