Apache Tomcat / Tomcat based apps
Sun May 21 15:26:00 GMT 2006
OK, understand. Now I need to ask the question.. Do you have any ideas
how I can make this work? Maybe a package that the user selects if java
is on the machine? Again, I am trying to deal with the problem and not
having much luck.
Brian Dessent wrote:
> 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.
More information about the Cygwin-apps