title: How to find where javaw.exe is installed?
body: <p>So, for a project I am working on, I need to find out where a <code>javaw.exe</code> is located on a user's machine. <strong>How do I do that?</strong>  <em>Assuming that user is on Windows machine</em> </p>
  
  <p>The method that I used is limited to English versions of Windows only.<br>
  I looked for where the OS is installed, locate the <code>Program Files</code> directory, locate <code>Java</code>, <code>jdk</code> directory, <code>bin</code>, then <code>javaw.exe</code>. I know this will not work on non-English versions of Windows.  </p>
  
  <p>What is the human-language-independent way to do this ?</p>