File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes tomcat startup problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat startup problem" Watch "tomcat startup problem" New topic

tomcat startup problem

shabbir zakir
Ranch Hand

Joined: Nov 12, 2000
Posts: 183

when i start Tomacat by using its startup file it gives me error that you must set JAVA_HOME to point at your JAVA Developement Kit. But i have alredy set the path in the autoexec.bat file for jdk1.3. Every file in tomcat gives these error.please help me.
Rashid Ali
Ranch Hand

Joined: Jan 16, 2001
Posts: 349
You must visit the following link through which i could succed to work tomcat for me:
The Java_Home and Tomcat_Home environment variable you will have to set by editing in tomcat.bat file which is available in the \bin directory of tomcat. And if you are working under Windows 98 then you will have to set its memory setting in DOS as discussed in the following link:
Jyotsna Clarkin
Ranch Hand

Joined: Jan 26, 2001
Posts: 158
Try this worksheet to help you set up your tomcat environment.
Prasad Desai

Joined: Apr 30, 2001
Posts: 10
Tomcat uses a unique variable name JAVA_HOME before starting up. This variable HAS to be set up from the window in which you are starting Tomcat.
Suppose you have jdk installed in C: drive, then, do the following on the command window.....
set JAVA_HOME=c:\jdk1.3
Then call startup. Tomcat will start fine.
I agree. Here's the link:
subject: tomcat startup problem
jQuery in Action, 3rd edition