Point JAVA_HOME to the jre
Point JAVA_HOME to the JDK