This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Dmitri Makovetskiy wrote:...i went to the control panel>system>Environment variable
then i saved a path to program files\java\JDk 22.214.171.124_20 \bin
still doesnt recognize java
Make sure your setting is exactly...
The snippet you posted is missing "C:\" and has a space after "JDk" and another space after "20". (I don't think the uppercase "JD" should matter, but best to match this to the actual directory name, which is probably lowercase "jdk".)
Also, make sure it is separated from other PATH values by a semicolon with no spaces...