Dear Sir/Madam, I am using Apache Tomcat web server 4.0.6. I need to set Java_Home variable. Is it in catalina.bat file.Please tell me how to set java_home variable and where is that in the file catalina.bat.Do we need to set catalina.bat file or some other file.I am using jdk 1.3 which is in c:/jdk1.3 and My jre is in c:/jdk1.3/bin. Please help me.
Download the latest version of Tomcat. I think it's version 4.1.27. When you install it, it will automatically detect the Java_Home directory and no problems. Then you should have icons to start and stop the Tomcat server.
In a time of drastic change it is the learners who inherit the future. The learned usually find themselves equipped to live in a world that no longer exists.<br />Eric Hoffer
If you are doing a lot of Java you might as well set the JAVA_HOME environment variable for all applications. In Windows thats done from the System dialog in the Control Panel. Pick the "Advanced" tab - then the "Environment Variables" button. JAVA_HOME should point to the SDK installation directory - mine looks like this: JAVA_HOME=c:\Java\j2sdk1.4.1\ I also like to set CATALINA_HOME by hand rather than have the batch file set it. Bill