Andi Vajda <va...@apache.org> wrote:

> The same approach could be used for figuring out the Java stuff. Have
> a small class running in Java tell us.

You would think, wouldn't you?  But then you'll often end up with gcj.
The JDK/JRE distinction is another killer.

> On Linux, every distro has its own, incompatible, way of telling where
> java is. I just experienced this going from Gentoo to Fedora Core 11.

Oh, yeah, I've got another script, figure-linux-java.py, that locates
the Java SDK on Linux boxes.  If you're curious, you can pull it out of
one of the UpLib tarballs at http://uplib.parc.com/.  (Just updated it
today to handle the latest Ubuntu...)

Bill

Reply via email to