Nope, doing it all in Windows using notepad. And I've narrowed down the problem. 2k/2k3 doesn't like the following line.
set JAVA_HOME= If I don't have a JAVA_HOME variable set, everything works fine. However, I can't guarantee that the JAVA_HOME variable won't be set on every machine. So I need some way to unset it if it's not set. Also, is there a way to differentiate between XP/2k/2k3? They all return OS=Windows_NT. For the time being, I'd like to put in an if statement on that set so it only runs in XP. On Wed, Oct 1, 2008 at 11:27 AM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Bai Shen [mailto:[EMAIL PROTECTED] > > Subject: Re: Tomcat stops with error after calling setclasspath.bat > > > > No effect. > > Are you editing your .bat files in UNIX format, by any chance? The Windows > shell might not like missing carriage returns. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >