If you cannot change the system variable in the Path section of Windows 10, try this instead

Login as administrator
go to java folder for example
C:\Program Files\Java\jdk8\bin and copy.
Now in the search box next to the Windows logo below
path
and choose the one that says
'edit the system environment variables'
, "" "", "" " ", . , PATH.Now , Java,
c:\Program Files\Java\jdk8\bin
.
Java
java -version
, Java Java .
user2338925