Next, verify the version and architecture:
java -version
where java C:\Program Files\Microsoft\jdk-17.0.10\bin\java.exe Incorrect output (Worse): C:\Windows\System32\java.exe (This is an old, bundled JRE from Windows—delete it immediately). jdk17windowsx64binexe better