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

Unable to Start Tomcat

Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Hi all,
when i start tomcat i get the foloowing error. Guide me how to rectify it.
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Using CATALINA_BASE: C:\jakarta-tomcat-4.1.31\
Using CATALINA_HOME: C:\jakarta-tomcat-4.1.31\
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.31\\temp
Using JAVA_HOME: C:\j2sdk1.4.0\bin\
The system cannot find the file

What should the JAVA_HOME variable shoud have ?

Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Thanks I have solved it.
Now my java home points to JAVA_HOME: ==> C:\j2sdk1.4.0
I agree. Here's the link:
subject: Unable to Start Tomcat
jQuery in Action, 3rd edition