Hi Guys , 

I take the space out ...type command 

C:\>set JAVA_HOME=D:\Program Files\Java\jdk1.6.0_07    (the path of java JDK
not JRE )

After that I dragged the catalina.bat file to the cmd.exe   

C:\>"D:\QQ setup exe\tomcat\apache-tomcat-6.0.18\bin\catalina.bat"

I typed "enter" run it ....then it says ...

CATALINA_HOME environment variable is not defined correctly....

Thank you for your help.....


Patrick









Len Popp wrote:
> 
> On Sat, Oct 11, 2008 at 16:45, André Warnier <[EMAIL PROTECTED]> wrote:
>> Caldarale, Charles R wrote:
>>>>
>>>> From: IceManPat [mailto:[EMAIL PROTECTED]
>>>> Subject: Re: Why can NOT run Tomcat on my Laptop
>>>>
>>>> C:\>set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07
>>>
>>> The problem is you have a space before the equals sign; that makes the
>>> environment variable "JAVA_HOME " (note the trailing space), rather than
>>> "JAVA_HOME".  Take the space out.
>>>
>>> Despite Martin G's dire warning, spaces in the value of JAVA_HOME are
>>> not
>>> a problem; spaces at the end of the environment variable name are.
>>>
>> Allowing spaces in directory and file names was a nutty idea which
>> has cost more over time than the Iraq war and current financial debacle
>> combined.  It should be re-regulated.
> 
> And yet, as Charles pointed out, it's not a problem for the genius
> Tomcat developers! (Re-read his message - the problem is a space in
> the *name* of the env variable, not the directory. All of us Windows
> users have no problem with Java being installed in the default
> "Program Files" directory.)
> -- 
> Len
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Why-can-NOT-run-TomCat-on-my-LapTop-tp19931226p19939644.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to