Updated java version in POM.