This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Apache Tomcat / Tomcat based apps


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]