> You are going to have to quote all paths that contain spaces such as... > > ANT_HOME = "C:\Program Files\Apache Group\apache-ant-1.6.0" > JAVA_HOME = "C:\Program Files\Java\jdk1.3.1_09"
That's puts me straight back to square one. Removing the quotes from around just ANT_HOME gave me another error: 'Files\Java\jdk1.3.1_09"" was unexpected at this time.' All my paths in PATH are quoted too.
I guess I gave you bad information as Conor has stated. Sorry about that. Either way, you can avoid this by using my suggestion below...
> Why don't you save yourself a million headaches and just install anything > Java-related to a path with no spaces such as... > > ANT_HOME = C:\apache-ant-1.6.0 > JAVA_HOME = C:\jdk1.3.1_09 > > Everything will work in this case. Even if things *should* work in the > other case, they *do* in this case, so save yourself the trouble > and always use paths without spaces.
<small rant>But I hate an untidy directory structure. It bugs the hell out of me that I have to have multiple programs in root at work. ESRI, Oracle and Tomcat all have trouble with directories with spaces. Long filenames have been around for 8 years. Programs should be able to work with them by now. </small rant>
Like I said, maybe it *should* work, but the fact that it works only sporadically when you use paths with spaces and it works perfectly when you use paths without spaces should give you pause at ever using spaces for paths to Java programs. And you needn't use the exact paths I suggested. You could have...
ANT_HOME = C:\Java\Apache\apache-ant-1.6.0 JAVA_HOME = C:\Java\Sun\jdk1.3.1_09
What's so hard about that? There's nothing magical about "Program Files". Use any naming convention you want, just make sure to remember to avoid paths with spaces for Java programs. It might be lame, but you might think about picking your battles and not spending any more energy on an issue outside of your control.
Jake
Graham.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
