This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes tomcat help needed!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat help needed!!!!" Watch "tomcat help needed!!!!" New topic

tomcat help needed!!!!

Jane Lin

Joined: Aug 03, 2001
Posts: 13
hi there
i have downloaded tomcat 3.2.1 and i have set the JAVA_HOME and TOMCAT_HOME already but when i try to startup tomcat they give me this statement : please point JAVA_HOME to the jdk installation directory. how do i solve this problem??
pls help me check if this is correct: JAVA_HOME = c:\jdk1.3.1
TOMCAT_HOME = c:\tomcat\bin i set this 2 in autoexec.bat file.
Thanks in advance
khurram mirza

Joined: Jun 10, 2001
Posts: 25
the tomcat configuration should look like this:

set JAVA_HOME=c:\jdk1.3
set TOMCAT_HOME=c:\tomcat3
set classpath=.;c:\tomcat3\lib\servlet.jar;c:\tomcat3\lib\jasper.jar
tomcat_home should point to root directory not bin directory.

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

foll. the advice above and then open a DOS window
and start tomcat. if you still face that problem,
then try to echo the JAVA_HOME variable and see if
the value set in your autoexec has been taken or not...
echo %JAVA_HOME%

let us know if you have other probs.
- sayta

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: tomcat help needed!!!!
Similar Threads
Tomcat Problem...
out of environment error in the TOMCAT server(desperate to run my first JSP program)
Need help in installing J2EE
tomcat installation problem
tomcat installation on win98