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]