tomcat is working fine in windows xp for me. for now i have to work in windows 7 so i cant make it start ie. tomcat in windows 7. i downloaded apache-tomcat-6.0.35 and extract that in my c drive and i have java installed in my windows 7 when i tried to start tomcat, one command windows just flashes up for a milli sec and will gone. how can i start/run tomcat in windows 7.
Please check your JAVA_HOME as li lianghong suggested , sometime back i also got same issue .
This may accure because my java was installed in the "C:\program files\java" . So in the startup.bat even though i have given set JAVA_HOME="C:\Program Files\jdk1.6.0_24" it was not able to take it. One observation i found in my friends system is , Java was in C:\Java6\jdk1.6.0_24" So it was working fine with set JAVA_HOME="C:\Java6\jdk1.6.0_24". So the issue may be directory name with space.
Finally i commented set JAVA_HOME="C:\Program Files\jdk1.6.0_24" and set it in system environment variables and now it is working fine.