Is everybody aware that the Oracle version of the JDK/JRE can not be used for free in a server environment? See https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html For a free to use version, jdk.java.net should be used.
Quote: "For what uses is Oracle Java SE, including Java 8 updates, free? For full information and terms, refer to the OTN License Agreement for Java SE. The OTN License Agreement for Java SE for current Oracle Java SE releases allows them to be used, without cost: (i) For personal use on a desktop or laptop computer, such as to play games or run other personal applications. (ii) For development, testing, prototyping, and demonstrating applications, including to use by/with profilers, debuggers, and Integrated Development Environment tools. (iii) For use with some approved products, such as Oracle SQL Developer, or as an end user of a software application created by an approved product. (referred to as “Schedule A” and “Schedule B” Products in the OTN License Agreement for Java SE) (iv) With identified Oracle Cloud Infrastructure products."
And: "Where can I get the latest releases of Java SE at no cost on or after April 16, 2019? Oracle provides the latest Java releases, made available in March and September each year, including quarterly performance, stability and security updates (in January, April, July and October) under an open source license at jdk.java.net. Also, Oracle provides updates; including Java 8, Java 11, and Java 12 of Oracle Java SE under the OTN License Agreement for Java SE at OTN. "
Pinned Comments
dbermond commented on 2024-03-19 19:54 (UTC)
As was made with the java packages in the official repositories, jdk now provides the jre alongside it, and both packages conflict with each other. During the package upgrade to version 22, act accordingly to your needs. For example, if you have both jdk and jre installed, only jdk will be sufficient, as it now also contains the runtime environment, and jre can be uninstalled. If you have only jre installed, no action is required.