set your java home set JAVA_HOME=c:\??? in the startup file -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 April 2004 03:52 PM To: [EMAIL PROTECTED] Subject: Tomcat not starting !
My Tomcat dosnt start??? also Im getting following error when setting classpath script on woindows C:\Tomcat\jakarta-tomcat-4.1.30\bin>rem --------------------------------------------------------------------- C:\Tomcat\jakarta-tomcat-4.1.30\bin>rem Set CLASSPATH and Java options C:\Tomcat\jakarta-tomcat-4.1.30\bin>rem C:\Tomcat\jakarta-tomcat-4.1.30\bin>rem $Id: setclasspath.bat,v 1.8 2003/01/17 10:07:21 remm Exp $ C:\Tomcat\jakarta-tomcat-4.1.30\bin>rem --------------------------------------------------------------------- C:\Tomcat\jakarta-tomcat-4.1.30\bin>rem Make sure prerequisite environment variables are set C:\Tomcat\jakarta-tomcat-4.1.30\bin>if not "C:\jsdk1.4.2" == "" goto gotJavaHome C:\Tomcat\jakarta-tomcat-4.1.30\bin>if not exist "C:\jsdk1.4.2\bin\java.exe" goto noJavaHome C:\Tomcat\jakarta-tomcat-4.1.30\bin>if not exist "C:\jsdk1.4.2\bin\javaw.exe" goto noJavaHome C:\Tomcat\jakarta-tomcat-4.1.30\bin>if not exist "C:\jsdk1.4.2\bin\jdb.exe" goto noJavaHome C:\Tomcat\jakarta-tomcat-4.1.30\bin>if not exist "C:\jsdk1.4.2\bin\javac.exe" goto noJavaHome C:\Tomcat\jakarta-tomcat-4.1.30\bin>goto okJavaHome C:\Tomcat\jakarta-tomcat-4.1.30\bin>if not "" == "" goto gotBasedir C:\Tomcat\jakarta-tomcat-4.1.30\bin>echo The BASEDIR environment variable is not defined The BASEDIR environment variable is not defined C:\Tomcat\jakarta-tomcat-4.1.30\bin>echo This environment variable is needed to run this program This environment variable is needed to run this program C:\Tomcat\jakarta-tomcat-4.1.30\bin>goto end Birendar Singh Waldiya NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. Metropolitan Holdings Limited, its subsidiaries or associates do not accept liability for any personal views expressed in this message.