1. 最近在搞CI,使用Tomcat +Jenkins,启动Tomcat,发现启动报错,
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
原来是没有配置Java 环境变量所致,配置Java_Home 即可;
1. 最近在搞CI,使用Tomcat +Jenkins,启动Tomcat,发现启动报错,
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
原来是没有配置Java 环境变量所致,配置Java_Home 即可;