GATK error: CommandLineGATK : Unsupported major.minor version 51.0

If you see an error: CommandLineGATK : Unsupported major.minor version 51.0), while running new GATK, this means you most likely need newer java. Either:

  • Install the latest java with apt-get (if you have root access and Ubuntu/Debian)
  • [bash]sudo apt-get install oracle-java9-installer[/bash]

  • Or download JRE from Oracle website and and set up system $PATH
    ie. if you have your JRE unpacked in ~/src/jre add these lines to your ~/.bashrc:
  • [bash]
    #java RE
    export PATH=~/src/jre/bin:$PATH

    And open new terminal window.

You can check installed JRE version with
[bash]java -version[/bash]

The location of `java` binaries can be checked with
[bash]which java[/bash]


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s