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

下载tomcat.zip,解压后,将bin和lib路径分别加到path中即可

在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
(记得改自己的绝对路径)
(记得改自己的绝对路径)
(记得改自己的绝对路径)

齐活

发布了36 篇原创文章 · 获赞 39 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/LJH_laura_li/article/details/103913708
今日推荐