It's not a secret anymore!
The moose likes Tomcat and the fly likes Tomcat installation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat installation problem" Watch "Tomcat installation problem" New topic

Tomcat installation problem

Sunny TG

Joined: Nov 25, 2003
Posts: 8

I installed my tomcat4.1 directly to c:\
I set my Environment Variable to
Variable Name : CATALINA_HOME
Variable Value: C:\Tomcat 4.1
Variable Name: JAVA_HOME
Variable Value: C:\j2sdk1.4.2_02
When I started the Tomcat Server iam getting the following message:
Missing Shortcut
Windows is searching for java.exe. To locate the file yourself, click Browse.

End quote
How to solve this, and where to place my sevlet source file and class file in tomcat.
thanks in advance
Preeti Patil

Joined: Nov 27, 2003
Posts: 10
i too had same problem when i started with Tomcat 4 and so i just shifted to Tomcat 3.X .
If u find any solution ps. get back to me.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Windows is searching for java.exe. To locate the file yourself, click Browse.

That sounds like you don't have your PATH set correctly. Your PATH must include the bin directory of your SDK installation.
Can you execute "java -version" from a command prompt and get the java version output?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

make CATALINA_HOME = "C:\Tomcat 4.1" (with quotes, so the space will not screw things up)... (or use the SFN version of that directory)
I agree. Here's the link:
subject: Tomcat installation problem
It's not a secret anymore!