This is a note contains instructions on how to install Java 21 and switch between different versions of Java.