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


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.

Thanks,
-Chris


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.



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