Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

starting up of tomcat in windows 7  RSS feed

 
Ranch Hand
Posts: 94
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
check the JAVA_HOME and CATALINA_HOME was setted!
 
Ranch Hand
Posts: 153
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • 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 Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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



thank you it worked
 
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!