I left this as the last solution. In fact, I'd be OK with having java 1.5 with the Tomcat. I just wanted to find the part of startup code that causes this issue. Obviously, I only need some quotes somewhere, and I hoped someone could point me that spot. I'll keep searching for that.
Peter Crowther wrote: > >> From: zorglub76 [mailto:[EMAIL PROTECTED] >> 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. > > Install the JDK to a location that doesn't have spaces in the path (I use > C:\java). Yes, it's a fudge. It also works :-). > > - Peter > > --------------------------------------------------------------------- > 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-tp18728870p18729835.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]