Hi,
Starting with version 7, Elasticsearch comes with bundled JDK.
Oracle changed the license of the JDK and disallows commercial use with the one packaged by Oracle.
(other alternatives are AdoptOpenJDK and more)
Is the JDK that comes with the tar.gz the Oracle's one?
The bundled JDK is OpenJDK, it is not encumbered by a commercial license. The reason that we switched the download link is because there was a temporary period where jdk.java.net was broken. This is actually because Oracle was in the process of setting up redirects from jdk.java.net to download.oracle.com.
@dadoonet I'm not sure what you meant about java11 vs. java12.
That pull request was about bumping the bundled JDK from JDK 12 to JDK 12.0.1. You can see this in the diff. However, this change occurred exactly when Oracle temporarily broke the download links from jdk.java.net, so in that same change, I also updated all existing links that relied on jdk.java.net to instead use download.oracle.com. This impacted not only the JDK 12 builds, but also the JDK 11s that we install in the packaging tests (which on master we run against the LTS version of the JDK).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.