wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Steps to intergrate Tomcat and JDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Steps to intergrate Tomcat and JDK" Watch "Steps to intergrate Tomcat and JDK" New topic
Author

Steps to intergrate Tomcat and JDK

Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
Hi
I have installed Tomcat 4.0 but when I run its startup directory it asks for some JAVA_HOME variable not set
Even in the installation steps there is no mentioning of it
Can any one pls guide me as what shall I do to integrate it with JDK so that it starts running
thankx in advance
Gaurav


SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Srinivas M
Greenhorn

Joined: Dec 18, 2002
Posts: 12
Please set the JAVA_HOME environment variable ( through Control Panel - System - Environment Variable)
Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
Do we have to set the JAVA_HOME variable
to jdk1.4/bin or somewhere else
Pls clarify
Srinivas M
Greenhorn

Joined: Dec 18, 2002
Posts: 12
Hi,
Open the File "startup.bat" in <your tomcat install directory>/bin folder and set the JAVA_HOME as
set JAVA_HOME=<your jdk install dir>
for Example
set JAVA_HOME=C:\JDK1.4
Also check the CATALINA_HOME env variable in the same file
for Example
set CATALINA_HOME=D:\jakarta-tomcat-4.1.12
You should be able to start Tomcat Server.
regards
 
jQuery in Action, 2nd edition
 
subject: Steps to intergrate Tomcat and JDK
 
Similar Threads
distributable webapp in tomcat
how to install tomcat
deploying and running web application in the home pc
.WAR not unpacking
Unable to compile class for JSP: