title: JRE installation directory in Windows
body: <p>Is there any command to check the active (since the machine can have more than 1 JRE installed) JRE installation directory under Windows. For linux, the corresponding command is</p>
  
  <pre><code>which java
  </code></pre>
  
  <p>Is there any Windows equivalent ?</p>