JDK Types
OracleJDK
This is a JDK version managed and distributed directly by Oracle.
If you use it for commercial purposes, you must pay a fee.
OpenJDK
Some of the features of OracleJDK cannot be used, but it can be used for free.
For general projects, OpenJDK is sufficient.
Download
There are several vendors, such as Red Hat and adoptium.
If you download LTS and install it with default settings, it will automatically register the path.
adoptium download address