Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fail to startup

Status
Not open for further replies.

nicol

Technical User
Apr 8, 2005
1
GB
I'm new to tomcat.
Currently, I've installed Tomcat4.0.1 & having jdk1.2.1

I failed to start up tomcat. When i double click the startup batch file,it return

Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CLASSPATH: ..\bin\bootstrap.jar; C:\jdk1.2.1\lib\tools.jar
Using JAVA_HOME: C:\jdk1.2.1
Bad command or file name
=====================================

The confiuration of my AUTOEXEC batch file:

SET PATH=C:\jdk1.2.1\bin;C:\jakarta-tomcat-4.0.1\bin;
SET JAVA_HOME=C:\jdk1.2.1
SET TOMCAT_HOME=C:\jakarta-tomcat-4.0.1
SET CLASSPATH=C:\jdk1.2.1\lib\tools.jar;
=========================================

The configuration of catalina batch file:

if not "%JAVA_HOME%" == "" goto gotJavaHome
set JAVA_HOME=C:\jdk1.2.1
:gotJavaHome

FYI, i include the above in jasper & digest. Is it necessary to do so?

I tried using jdk1.4.1 instead of jdk1.2.1 but the same error occur.

Do you know the cause of the problem?

Ur help will be much appreciated. TQ.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top