When using Environment Variables to switch Java versions through JAVA_HOME, updating PATH with %JAVA_HOME%\bin works in CMD, but does not work in PowerShell, because ...
now click on the button that says Environment Variables... now you are gone see this window popup on the System variables look for JAVA_HOME if its there edit it and point to a JDK 17 install now if ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果