• 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

TOMCAT_HOME and JAVA_HOME

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Santomh,
Thank you so much for your help. I've solved the problem.

Best withes,
Sunny
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic