• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Setting Environment variables for Tomcat in Windows XP

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I've installed J2SE SDK 1.4.1_02 on Windows XP professional. I've also installed Tomcat 4.0.1. I've managed to set up the Path and Classpath variables successfully for J2SE. How do I add the path and classpath variables for tomcat to my existing path and classpath variables. Your prompt response would be highly appreciated.
Thanks.
 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Add a new environment variable named CATALINA_HOME to your environment(if it does not exist already) and its value should be the path of directory where you installed the Tomcat.
I have only used tomcat 4.1.27, its binary sets up catalina home itself, coz i dont remember specifically setting it.... it was years ago though and my memory is short
http://www.takka.com.hk/en/jspmysql/installjspsql.htm
[ January 25, 2004: Message edited by: pervaiz gul ]
 
Rida Abrahams
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, I've added the CATALINA_HOME variable, but when I complile my servlet, I get an error which is something to this effect: package javax.servlet not found. How do I set the Path variable for tomcat as well as the classpath.
Thanks.
 
Gul Khan
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There should be a servlet.jar in the tomcat lib directory... add that to ur classpath.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic