[![enter image description here](https://i.stack.imgur.com/GhmmA.png)](https://i.stack.imgur.com/GhmmA.png)

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?

EDIT: This is JAVA\_HOME
[![enter image description here](https://i.stack.imgur.com/ezH5B.png)](https://i.stack.imgur.com/ezH5B.png)

and Path

[![enter image description here](https://i.stack.imgur.com/9GgRc.png)](https://i.stack.imgur.com/9GgRc.png)