Added a java version dependency