adding java version for maven