DEV Community

loading...

Discussion on: Java didn't update?

Collapse
hunter profile image
Hunter Henrichsen

You can run echo %JAVA_HOME% to check the variable. I normally edit them through the Environment Variables dialogue under System Properties > Advanced, as I'm less prone to wiping out important variables that way. You also may want to restart your computer if you edit the system path.

Thread Thread
thefern profile image
Fernando B 🚀

You don't need to restart your computer, just restart cmd prompt. Just make sure your new java / bin folder is on PATH, and not multiple java versions.