Update maven build

Change jre to JDK to remove the tools.jar missing when building maven
pom