On Wed, 14 Oct 2009, Bill Janssen wrote:

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.

And it would tell you by looking at System.getProperties(), no ?

The JDK/JRE distinction is another killer.

Indeed but then trying to compile that small class would fail telling us that there is no JDK.

Andi..

Reply via email to