Added correct version of java for maven