How to set JAVA_HOME and JRE_HOME variable for open JDK11

Viewed 7044

I am trying to deploy the web application using tomcat 9.0. I am getting below error:

 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

after executing .\catalina.bat run command

1 Answers
Related