Trouble getting keytool...to work

Trying to publish my app. Downloaded JDK 15 then put in recommended code (from appgyver site) after getting command prompt to show but not working. There must be more to this? Not having much of a computer background I feel explanations may be assuming alot that is not explained even when looking at tutorials.