当前位置: 技术问答>java相关
迷茫(tomcat启动不起来,为什么)
来源: 互联网 发布时间:2015-05-06
本文导语: 在98系统中我安装了jdk1.4.0-rc,apache tomcat4.0,并在autoexec.bat中加入了以下语句: PATH="%PATH%";C:PROGRA~1MICROS~180TOOLSBINN;C:J2sDK1.4.0-rc;C:J2sDK1.4.0-rcBIN set JAVA_HOME=C:J2sDK1.4.0-rc set TOMCAT_HOME=C:Program FilesApache Tomcat 4.0 SET CLASSPATH=...
在98系统中我安装了jdk1.4.0-rc,apache tomcat4.0,并在autoexec.bat中加入了以下语句:
PATH="%PATH%";C:PROGRA~1MICROS~180TOOLSBINN;C:J2sDK1.4.0-rc;C:J2sDK1.4.0-rcBIN
set JAVA_HOME=C:J2sDK1.4.0-rc
set TOMCAT_HOME=C:Program FilesApache Tomcat 4.0
SET CLASSPATH=C:J2sDK1.4.0-rcLIBmerlia.jar;C:J2sDK1.4.0-rcLIBdt.jar;C:J2sDK1.4.0-rcLIBtools.jar;=C:J2sDK1.4.0-rcLIBhtmlconverter.jar
但是在tomcat中运行startup.bat后
出现错误提示:
Out of environment space
Out of environment space
Unable to determine the value of CATALINA_HOME
PATH="%PATH%";C:PROGRA~1MICROS~180TOOLSBINN;C:J2sDK1.4.0-rc;C:J2sDK1.4.0-rcBIN
set JAVA_HOME=C:J2sDK1.4.0-rc
set TOMCAT_HOME=C:Program FilesApache Tomcat 4.0
SET CLASSPATH=C:J2sDK1.4.0-rcLIBmerlia.jar;C:J2sDK1.4.0-rcLIBdt.jar;C:J2sDK1.4.0-rcLIBtools.jar;=C:J2sDK1.4.0-rcLIBhtmlconverter.jar
但是在tomcat中运行startup.bat后
出现错误提示:
Out of environment space
Out of environment space
Unable to determine the value of CATALINA_HOME
|
TOMCAT_HOME
该成CATALINA_HOME
路径是你的CATALINA(TOMCAT)安装路径
该成CATALINA_HOME
路径是你的CATALINA(TOMCAT)安装路径
|
先把TOMCAT_HOME改成CATALINA_HOME,因为4.0版本的名字改变了
|
把虚拟内存加大点。