Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat startup.bat

 
yash shah
Greenhorn
Posts: 2
Android Objective C Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I start the tomcat and click on startup.bat it could not run and only blink...
what should i do...
i have disable oracle
and remove wamp server..
still i have this type of problem...
I have also set path

CATALINA_HOME: D:\tomcat6
JAVA_HOME:C:\Program Files\Java\jdk1.7.0
JRE_HOME:C:\Program Files\Java\jre7\bin


WHEN I RUN on cmd D:\tomcat6\bin>startup.bat
The CATALINA_HOME environment variable is not defined correctly
This environment variable is needed to run this program


I get this problem.....

PLEASE SOLVE THIS PROBLEM AS QUICKLY AS POSSIBLE


THANK YOU IN ADVANCE FOR SOLVING MY PROBLEM..............
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open a command prompt window, navigate to the tomcat bin directory and execute startup.bat from the command line.

This should display the value of CATALINA_HOME which is being set by startup.bat plus more error messages.

If a window opens and immediately closes, try changing startup.bat to use "run" instead of start


This will keep all messages in the open command prompt window.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic