This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic