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