Apache Tomcat / Tomcat based apps
Brian Dessent
brian@dessent.net
Sun May 21 14:51:00 GMT 2006
Christopher Molnar wrote:
> "/cygdrive/c/Program\ Files/Java/jdk1.5.0_06" , so keying on the
> presence of that directory is a good bet Java is installed with the
> correct version.
No, that's not a good bet at all. That directory is only spelled
"Program Files" in the English localization. In other versions of
windows it defaults to "\Archivos de programa", "\Programme", and so
on. It could be on any drive letter. Or the user might have chosen
something else entirely like "z:\foobar". And not everyone has their
cygdrive prefix set to "/cygdrive" either. You can't make any such kind
of assumption about paths whatsoever.
Brian
More information about the Cygwin-apps
mailing list