Added back java version dependency