How do I reset the dialog box interface for editing Environment Variables in Windows?

E

ersatzJ

I was trying to figure out a way to easily swap JDK versions in Windows 10 using PowerShell, but I'm not well-versed in it. I previously had several values inserted into the PATH environment variable, like so (ignore the arrow): Using the system interface to update the value of `JAVA_HOME` worked fine, but I wanted to see if I could use PowerShell to do this so I could make use of aliasing. So as a test, I ran (in non-admin mode) ``` setx JAVA_HOME "C:\Program Files\Java\jdk-11" setx PATH "%PATH%;%JAVA_HOME%\bin"``` If I remember correctly, setting the values this way worked but did not pers

Continue reading...
 
Back
Top Bottom