配置Tomcat服务器,并解决Neither the JAVA_HOME nor the JRE_HOME environment variable is defined的问题

下载tomcat.zip,解压后,将bin和lib路径分别加到path中即可
配置Tomcat服务器,并解决Neither the JAVA_HOME nor the JRE_HOME environment variable is defined的问题
在bin路径下,点击Shift右键选择Powershell,敲startup,若出现Neither the JAVA_HOME nor the JRE_HOME environment variable is defined的错误,则修改setclasspath.bat将下面两句加到下方出
set JAVA_HOME=E:\Program Files\Java\jdk1.8.0_111
set JAVA_HOME=E:\Program Files\Java\jre1.8.0_111
(记得改自己的绝对路径)
(记得改自己的绝对路径)
(记得改自己的绝对路径)
配置Tomcat服务器,并解决Neither the JAVA_HOME nor the JRE_HOME environment variable is defined的问题

配置Tomcat服务器,并解决Neither the JAVA_HOME nor the JRE_HOME environment variable is defined的问题

齐活