For Java-based programs such as Maven, Jenkins, Gradle or Tomcat to run ... setting JAVA_HOME is simply a matter of choosing the option to set or override the JAVA_HOME variable on the third step of ...