changed pom file to jre7