title: Why is my java -version showing " openjdk version "1.8.0_282" "
body: <p><a href="https://i.stack.imgur.com/GhmmA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GhmmA.png" alt="enter image description here" /></a></p>
  <p>This is what my CMD looks like. I have JDK 11 but for some reason it shows my version is 1.8.  My netbeans uses JDK11. How do I update it from version 1.8?</p>
  <p>EDIT: This is JAVA_HOME
  <a href="https://i.stack.imgur.com/ezH5B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ezH5B.png" alt="enter image description here" /></a></p>
  <p>and Path</p>
  <p><a href="https://i.stack.imgur.com/9GgRc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9GgRc.png" alt="enter image description here" /></a></p>