Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

TOMCAT Environmental Variables

 
munna next
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Installed TOMCAT in my machine and I am trying to start and stop the service.
I am just reading that inorder to start and stop the service I need to setup Environmental variables
JAVA_HOME and CATALINA_HOME.
Can you please tell me what exactly (Up to which folder) I need to create these Environemntal variables ?

My JDK at C:\Program Files\Java\j2sdk1.4.2_03\bin
Tomcat at C:\Program Files\Canto\Tomcat\bin

Thanks for your time.
 
Lalitha Mouli
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Lalitha Mouli
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In general JAVA_HOME should point to the root directory of the Java installation, in your case it would be "C:\Program Files\Java\j2sdk1.4.2_03"

And with respect to Tomcat, it should be "C:\Program Files\Canto\Tomcat\"

Cheers
mouli.
 
munna next
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!