解决Tomcat启动错误 没配置jdk Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

在tomcat目录下找到这个setclasspath.bat 编辑打开

 

 在这写上jdk  java11就不用写jre

 

posted @ 2021-10-12 17:17  Sakimir  阅读(19)  评论(0)    收藏  举报