Yes, I tried it with single quotes.
What confuses me here is that I have two double quotes in the end of the
error log (whatever quotes I use):
Files\Java\jdk1.6.0_07"" was unexpected at this time.


Deepak Mishra-2 wrote:
> 
> i havent used windows, but in linux i frequently face this problem due to  
> spaces in between.
> so you should better install it at a location other than "Program Files"
> i am surprised over how you got tc5 working this way !!
> 
> also, did you try single-quotes as well as double-quotes ?
> 
> On Wed, 30 Jul 2008 14:28:56 +0530, zorglub76 <[EMAIL PROTECTED]> wrote:
> 
>> Hi all,
>> I have a problem with setting JAVA_HOME variable in Tomcat 6.0.16.
>> When I set it in catalina.bat as:
>> set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07
>> set JRE_HOME=C:\Program Files\Java\jdk1.6.0_07\jre
>>
>> I get an error:
>> Files\Java\jdk1.6.0_07"" was unexpected at this time.
>>
>> But when I do exactly the same in Tomcat 5.5.26, everything goes well:
>> Using CATALINA_BASE:   C:\apache-tomcat-5.5.26
>> Using CATALINA_HOME:   C:\apache-tomcat-5.5.26
>> Using CATALINA_TMPDIR: C:\apache-tomcat-5.5.26\temp
>> Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_07\jre
>>
>> I tried to embrace java_home value with quotation marks or apostrophes,  
>> but
>> the error remained.
>> Any ideas?
> 
> 
> 
> -- 
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/java_home-in-tomcat6-tp18728870p18729887.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