Please use the “post reply” button rather than “quote”.
I am afraid that PATH looks incorrect. Assuming you want Java8 (I am using Java18), you are right to move the Java® part of the PATH to the beginning. Did you add “C:” at the beginning yourself. I think that isn't a valid part of the PATH because it isn't followed by a
;
The following part, “C:\Program Files\Java\jre1.8.0_321\bin\bin;” does have a
; But it has
jre where a developer would need
jdk, and it has
bin twice. I think it should only have
bin once.
Try changing the PATH to:-
C:\Program Files\Java\jdk1.8.0_321\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;";C:\Users\USER\AppData\Local\Microsoft\WindowsApps
Try the following two insrtuctions at the command line and show us the results please:-
You might need to add
\bin after
javapath; I don't know definitely.