One reason might be that your environment space is nearly full. Check for
any error message just after the set JAVA_HOME line. If there is not enough
space, the set JAVA_HOME command will not succeed.

If there is a @echo off line at the begining of the bat file, take it off so
that you can see what is happening. If you see something like :

        set JAVA_HOME = C:\peter\jdk1.2.2\bin
        not enough environment space

(sorry but I don't know the exact message in english)
and then

        if not "" == "" goto gotJavaHome

you get it !

Pierre-Yves

-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
Peter Barraud
Envoy� : mercredi 30 mai 2001 11:37
� : [EMAIL PROTECTED]
Objet : tomcat321 (for windows) starters


I have tomcat321 for windows and have set JAVA_HOME in the tomcat.bat file
to
C:\jdk1.2.2\bin but it still give me the error message
echo You must set JAVA_HOME to point at your Java Development Kit
installation
when I try to run startup
here are the first few lines of code in the tomcat.bat file
if anybody has any suggestions that would be great
thanx in advance
peter


set _CP=%CP%
set JAVA_HOME = C:\peter\jdk1.2.2\bin
set _TOMCAT_HOME=%TOMCAT_HOME%
set _CLASSPATH=%CLASSPATH%

if not "%JAVA_HOME%" == "" goto gotJavaHome
echo You must set JAVA_HOME to point at your Java Development Kit
installation

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to