Get location of java.home in C++
<p>What would be the best way to get the location of java.home in my C++ app? Right now I'm getting it from the registry but am wondering if there's a better/easier/cleaner way.</p>

<p>Thanks,
Serge</p>
