title: Java -version shows java 8 while java 11 is installed
body: <p>After installing java 11 on my system, runtime continues to be 1.8 </p>
  
  <p>Versions of java installed:  </p>
  
  <ul>
  <li>C:\Program Files\Java\jre1.8.0_201</li>
  <li>C:\Program Files\Java\jdk-11.0.3</li>
  </ul>
  
  <p>JAVA_HOME env variable value: <code>C:\Program Files\Java\jdk-11.0.3</code></p>
  
  <p>From command prompt running <code>java -version</code> command, expecting to see java 11 info but instead I see java 8.</p>
  
  <p>Changing environment variable value does not change the results, rebooting doesn't seem to be doing anything.</p>
  
  <pre class="lang-bsh prettyprint-override"><code>C:\Users\user&gt;java -version
  java version "1.8.0_211"
  Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
  Java HotSpot(TM) Client VM (build 25.211-b12, mixed mode)
  </code></pre>
  
  <p>expected is that java 11 runtime info is displayed</p>