• 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

starting up of tomcat in windows 7

 
Ranch Hand
Posts: 94
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tomcat is working fine in windows xp for me. for now i have to work in windows 7 so i cant make it start ie. tomcat in windows 7. i downloaded apache-tomcat-6.0.35 and extract that in my c drive and i have java installed in my windows 7 when i tried to start tomcat, one command windows just flashes up for a milli sec and will gone. how can i start/run tomcat in windows 7.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
check the JAVA_HOME and CATALINA_HOME was setted!
 
Ranch Hand
Posts: 153
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kiran,


Please check your JAVA_HOME as li lianghong suggested , sometime back i also got same issue .

This may accure because my java was installed in the "C:\program files\java" . So in the startup.bat even though i have given set JAVA_HOME="C:\Program Files\jdk1.6.0_24" it was not able to take it. One observation i found in my friends system is , Java was in C:\Java6\jdk1.6.0_24" So it was working fine with set JAVA_HOME="C:\Java6\jdk1.6.0_24". So the issue may be directory name with space.
Finally i commented set JAVA_HOME="C:\Program Files\jdk1.6.0_24" and set it in system environment variables and now it is working fine.


Thanks....

- Chetan
 
kiran kumar reddy
Ranch Hand
Posts: 94
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

li lianghong wrote:check the JAVA_HOME and CATALINA_HOME was setted!



thank you it worked
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic