Question: error while using picard 2.1.0
gravatar for kirannbishwa01
4.9 years ago by
United States
kirannbishwa011.2k wrote:

I have been using picard for a while and it was working good. I just downloaded a new version of picard 2.1.0. While the previous upgrades worked fine the recent picard does not seem to respond and is giving me error message related to java.

Since the jar files are executable using java I put both version in different folders and tried to run them with the same samples and same commands:

Picard version 1.139:

java -jar /home/everestial007/picard-tools-1.139/picard.jar CleanSam I=SAMPEaligned_MA605readsBWA.sam O=clean_ aligned_MA605readsBWA.sam

works perfectly


Picard version 2.1.0:

java -jar /home/everestial007/picard-tools-2.1.0/picard.jar CleanSam I=SAMPEaligned_MA605readsBWA.sam O=clean_ aligned_Pi2_MA605readsBWA.sam

gives me error message -

Exception in thread "main" java.lang.UnsupportedClassVersionError: picard/cmdline/PicardCommandLine : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(
    at Method)
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at sun.launcher.LauncherHelper.checkAndLoadMain(


I never had this issue before and my hunch is that it may or may not be related with java. But, I am little hesitant to update my java as it may turn out not working for other apps that I am currently running.

Any suggestions is appreciated.


cleansam alignment picard gatk • 2.3k views
ADD COMMENTlink modified 4.9 years ago by _r_am32k • written 4.9 years ago by kirannbishwa011.2k
gravatar for GenoMax
4.9 years ago by
United States
GenoMax94k wrote:

As of version 2.0.1 (Nov. 2015) Picard requires Java 1.8 (jdk8u66).

ADD COMMENTlink written 4.9 years ago by GenoMax94k

Thanks it helped !

ADD REPLYlink written 4.9 years ago by kirannbishwa011.2k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1467 users visited in the last hour