This question asks how to setup your path variable in Windows to include the Java bin directory allowing you to use the javac command from the prompt. The solution posted to this question states you should hard code the absolute path of the latest Java installation.
In this case it happens to be
I believe once Java update 17, 18 and beyond are installed your javac cmd will still be using this older version, correct?
Am I missing something?? Is there a way to set this to automatically use the most recent installed java update??