Adding java version as dep