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.
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 ]
Joined: Jan 25, 2004
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.
Joined: Sep 03, 2003
There should be a servlet.jar in the tomcat lib directory... add that to ur classpath.
subject: Setting Environment variables for Tomcat in Windows XP