Help with Tomcat installation

Hello,

I downloaded Tomcat 4.1.34 and installed it successfully. But when I try to startup tomcat by clicking startup.bat, I see a window coming up and vanishing immediately. I have no clue why this happens. I tried many times but its the same issue. I checked for the JAVA_HOME and CATALINA_HOME variables setup correctly.

Please help,

Thanks

[369 byte] By [p_1434a] at [2007-11-26 19:11:42]
# 1
run the startup.bat within the comand line, youll then see a error, which proberly is that you havnt set the JAVA_HOME enviroment varable up correctly, it must point to a JDK and not a JRE. Also if you change these varables a restart of your machine may be a good idea
h1400046a at 2007-7-9 21:09:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

That doesnt help.

I entered pause in the startup file and executed in the windows and following is the code where I get a flashing window:

C:\Tomcat\bin>pause

Press any key to continue . . .

C:\Tomcat\bin>rem Execute Java with the applicable properties

C:\Tomcat\bin>if not "" == "" goto doJpda

C:\Tomcat\bin>if not "" == "" goto doSecurity

C:\Tomcat\bin>start "Tomcat" "C:\j2sdk1.4.2_10\bin\java"-Dsun.io.useCanonCach

es=false -Djava.endorsed.dirs="C:\Tomcat\common\endorsed" -classpath "C:\j2sdk1

.4.2_10\lib\tools.jar;C:\Tomcat\bin\bootstrap.jar" -Dcatalina.base="C:\Tomcat" -

Dcatalina.home="C:\Tomcat" -Djava.io.tmpdir="C:\Tomcat\temp" org.apache.catalina

.startup.Bootstrap start

C:\Tomcat\bin>goto end

C:\Tomcat\bin>pause

Please help

hello_javaa at 2007-7-9 21:09:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Did you set the JAVA_HOME correctly ?

I think there is a problem there

C:\Tomcat\bin>start "Tomcat" "C:\j2sdk1.4.2_10\bin\java" -Dsun.io.useCanonCach

es=false -Djava.endorsed.dirs="C:\Tomcat\common\endorsed" -classpath "C:\j2sdk1

.4.2_10\lib\tools.jar;C:\Tomcat\bin\bootstrap.jar" -Dcatalina.base="C:\Tomcat" -

Dcatalina.home="C:\Tomcat" -Djava.io.tmpdir="C:\Tomcat\temp" org.apache.catalina

.startup.Bootstrap start

shouldn,t it be C:\j2sdk1.4.2_10\bin

arunmp25a at 2007-7-9 21:09:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...