GATK DepthOfCoverage java.lang.ExceptionInInitializerError


I have trouble using the GATK DepthOfCoverage tool.

The following error appears:

ERROR ------------------------------------------------------------------------------------------
ERROR stack trace

at org.broadinstitute.sting.gatk.GenomeAnalysisEngine.(

According to a Google search that could be because of a too old version of java or of GATK.

Is it possible that java or GATK are not up to date? Or is it because I’m doing something wrong? Does GATK works for someone?

Thank you!