About install error

mam java 18 version install krne k bad b command prompt m not recognized show krta h isko kese thik kre?