chinna_82
chinna_82

Reputation: 6403

Tomcat - The system cannot find the file specified

I downloaded Tomcat 6 from Tomcat Website and try to install. I found the .exe file in C:\apache-tomcat-6.0.35\bin but when i run the exe file the command prompt disappeared after show "The system cannot find the file specified". I already installed JDK 6 update 29 in my system. Please advice

Upvotes: 2

Views: 28210

Answers (4)

istvan
istvan

Reputation: 21

I had a simmilar problem after installing a java update, but JAVA_HOME was set correctly. If you run tomcat as a service, you might have to right click on the tomcat icon and open java tab and change java virtual machine path or just set "use default".

Upvotes: 2

bpervan
bpervan

Reputation: 31

Go to your/path/tomcat and execute script catalina_start.bat .I had the same issue and this worked for me (though I installed Tomcat as a part of XAMPP package)

Upvotes: 0

souser
souser

Reputation: 6120

If I were to "guess" I would say that the JAVA_HOME is not set. But to confirm :
Can you go the command line, make sure that JAVA_HOME is set correctly, startup tomcat (from command line) ? If you run into errors, please send the text output.

Upvotes: 1

xuanyuanzhiyuan
xuanyuanzhiyuan

Reputation: 3989

Try to run "startup.bat" to start a tomcat instance.

Upvotes: 1

Related Questions