tomcat环境配置cmd中运行startup.bat the CATALINA_HOME environment variable is not defined correctly以下为配置的环境变量CATALINA_BASE F:\tomcatCATALINA_HOMEF:\tomcatTOMCAT_HOMEF:\tomcatJAVA_HOMED:\Program Files(x86)\jdk1.7.0_45CLASSPAT
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 02:23:36
tomcat环境配置cmd中运行startup.bat the CATALINA_HOME environment variable is not defined correctly以下为配置的环境变量CATALINA_BASE F:\tomcatCATALINA_HOMEF:\tomcatTOMCAT_HOMEF:\tomcatJAVA_HOMED:\Program Files(x86)\jdk1.7.0_45CLASSPAT
tomcat环境配置cmd中运行startup.bat the CATALINA_HOME environment variable is not defined correctly
以下为配置的环境变量
CATALINA_BASE
F:\tomcat
CATALINA_HOME
F:\tomcat
TOMCAT_HOME
F:\tomcat
JAVA_HOME
D:\Program Files(x86)\jdk1.7.0_45
CLASSPATH
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;F:\tomcat\lib\servlet-api.jar;F:\tomcat\lib;
Path
C:\Program Files\AMD APP\bin\x86;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;F:\tomcat\lib;F:\tomcat\bin;
注:java 和 javac 不报错.
tomcat环境配置cmd中运行startup.bat the CATALINA_HOME environment variable is not defined correctly以下为配置的环境变量CATALINA_BASE F:\tomcatCATALINA_HOMEF:\tomcatTOMCAT_HOMEF:\tomcatJAVA_HOMED:\Program Files(x86)\jdk1.7.0_45CLASSPAT
假设设置都是正确的,可设置了环境变量,要重新打开命令行