Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in starting tomcat

 
tanu gupta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried running Tomcat by initiating the startup.bat in the /bin directory. I get the following mess: -
using CATALINA_BASE: C:\Program Files\Apache Group\tomcat
using CATALINA_HOME: C:\Program Files\Apache Group\tomcat
using CATALINA_TMPDIR: C:\Program Files\Apache Group\tomcat\temp
using JAVA_HOME: C:\JDK1.4
Bad command or file name
Iam using Windows ME.plz help me to solve this problem.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The line numbers have probably changed, but the solution is the same:
http://www.coderanch.com/t/81609/Tomcat/Tomcat-startup-Windows-ME
 
tanu gupta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
quote:
--------------------------------------------------------------------------------
rem ----- Prepare Appropriate Java Execution Commands ---------------
if not "%OS%" == "Windows_NT" goto noTitle
set _STARTJAVA=start "Catalina" "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"
goto gotTitle
:noTitle
set _STARTJAVA=start "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"
:gotTitle
--------------------------------------------------------------------------------
 
tanu gupta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx for replying Mike but i didn't get the above quotes at in catalina.bat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic