I looked around other posts and found This One.
Is this the proper way to go about updating java to 21?