aspose file tools*
The moose likes Tomcat and the fly likes TOMCAT_HOME and JAVA_HOME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TOMCAT_HOME and JAVA_HOME" Watch "TOMCAT_HOME and JAVA_HOME" New topic
Author

TOMCAT_HOME and JAVA_HOME

Lowera Chris
Greenhorn

Joined: Jul 10, 2008
Posts: 10
Hello,
I got a problem to define JAVA_HOME and TOMCAT_HOME environment variables. I am using Windows Vista. I downloaded Tomcat5.0.28, j2sdk1.4.2_17 and jdk1.5.0_12. I added jdk1.5.0_12 and j2sdk1.4.2_17 in PATH, but I do not know how to do the others. Could you please give me some advice and send me color pictures to show me how to define the environment variables?
I am able to run Tomcat. The
http://localhost:8080/ comes out correctly. However, after I type "cmd" from the start menu, in the directory C:\> I type: cd Tomcat5.0.28 it says "no such directory". I do not know what is wrong. I put Tomcat5.0.28 under C and I can see Tomcat5.0.28 icon on my desktop. "java -version" shows that j2sdk is installed correctly. I think there is problem with TOMCAT_HOME. Should I define CATALINA_HOME, too?
Could you please help me? Could you please email me about this problem?

Thank you very much for your time in advance.

Best wishes,
Sunny
santomh Mclain
Greenhorn

Joined: Jun 25, 2008
Posts: 19

I got a problem to define JAVA_HOME and TOMCAT_HOME environment variables. I am using Windows Vista. I downloaded Tomcat5.0.28, j2sdk1.4.2_17 and jdk1.5.0_12. I added jdk1.5.0_12 and j2sdk1.4.2_17 in PATH, but I do not know how to do the others. Could you please give me some advice and send me color pictures to show me how to define the environment variables?
I am able to run Tomcat.

just navigate to
tomcat related settings


However, after I type "cmd" from the start menu, in the directory C:\> I type: cd Tomcat5.0.28 it says "no such directory". I do not know what is wrong.


why shouldn't this error be thrown?
I could guess your tomcat installation directory is C:\program files\Tomcat5.0.28.
Lowera Chris
Greenhorn

Joined: Jul 10, 2008
Posts: 10
Hello Santomh,
Thank you so much for your help. I've solved the problem.

Best withes,
Sunny
 
wood burning stoves
 
subject: TOMCAT_HOME and JAVA_HOME
 
Similar Threads
Migrating from Tomcat3.3.1a to Tomcat5.0.28
Tomcat Instructions explained
Help on installing Tomcat on Win ME
newbie: troubleshooting apache/tomcat win98 environment
How to set up JSDK2.1 server