Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Steps to intergrate Tomcat and JDK

 
Gaurav Chikara
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Srinivas M
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please set the JAVA_HOME environment variable ( through Control Panel - System - Environment Variable)
 
Gaurav Chikara
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we have to set the JAVA_HOME variable
to jdk1.4/bin or somewhere else
Pls clarify
 
Srinivas M
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic