added validation to make sure mvn uses the right version of java