Try:

set JAVA_HOME=c:\peter\jdk1.2.2

The bin directory goes in your path:

set path=%path%;c:\peter\jdk1.2.2\bin

Sometimes you have to restart Windoze for these variables to be
read from the Registry.

Cheers!
Mark

----- Original Message -----
From: "saroumane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 30, 2001 1:10 PM
Subject: Re: tomcat321 (for windows) starters


> i don"t know if it's the same than on unix but have you try
without space
> around the equal
> set JAVA_HOME=c:\peter\jdk1.2.2/bin
>
> saroumane
>
> -----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 10: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
>
>
>
_________________________________________________________________
_____________
> ifrance.com, l'email gratuit le plus complet de l'Internet !
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le
WAP...
> http://www.ifrance.com/_reloc/email.emailif
>
>
_________________________________________________________________
__________
> 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