Location of JVM

Hi,How can I detect the path to the Domino JVM? Is it fixed relative to the Domino executable directory? I want to invoke “java” from an AddIntask. I have noticed that the binary is generally in –>jvm–>bin–>java[.exe]. But I am not sure if it is so for all platforms and versions or if it is configurable.

Thanks

Raj