added java version with maven