title: How to set JAVA_HOME and JRE_HOME variable for open JDK11
body: <p>I am trying to deploy the web application using tomcat 9.0. I am getting below error:</p>
  
  <pre><code> Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
  At least one of these environment variable is needed to run this program
  </code></pre>
  
  <p>after executing <code>.\catalina.bat</code> run command </p>