What are the old & new Oracle Java License Agreements?
Binary Code License (BCL) for Oracle JDK
This was the old agreement from Oracle for Java. Under this license Java could be used without paying money to Oracle except for certain commercial features.
OTN Agreement for Java for Oracle JDK
This is the license from Oracle for releases after January 2019 till September 2021. Under this license, Java has to be licensed commercially.
No Fee Terms & Conditions (NFTC)
This is the new license from Oracle for Java SE 17 and later LTS releases. Under this license, Java is free for production and commercial use.
GPL2 for Oracle OpenJDK
This is the license under which Oracle releases the open-source version of the JDK. It is known as Oracle OpenJDK.