Oracle is excited to announce the launch of scriptable Java downloads through Java Management Service (JMS) via the Oracle Cloud Infrastructure (OCI) service. This new capability is tailored to meet the needs of Java developers, administrators, and software providers.
Learn how JMS Java Downloads let you download up-to-date Java versions into your automated build and deployment system with script-friendly downloads, token-based authentication, and comprehensive reporting – on OCI, third-party cloud, and on premises including desktop environments.
oracle.com/javadownload allows for no-click script-friendly downloads of JDK versions under the No Fee Terms and Conditions (NFTC) which currently includes Oracle JDK 17 and 21. JMS Java Download provides more flexibility to customers by offering script-friendly downloads for all supported JDK versions, including versions that, being under the Oracle Technology Network (OTN) License, require license acceptance, such as updates for Oracle JDK 8 and JDK 11.
License-acceptance tokens are the key to enabling automatic downloads for all Java versions via scripts and in dockerfiles. Customers can generate tokens that allow Oracle’s download servers to validate that the applicable license terms for each JDK version have already been accepted. By using these user-generated tokens, administrators and developers can download Oracle Java binaries without having to log in and re-accept license terms for each download. Each token is linked to an individual OCI tenancy and to a Java version. You can create multiple tokens for each Oracle Java version.
Oracle Cloud Infrastructure is available from 46 public cloud regions in 23 countries. JMS Java Download service allows you to create tokens and download Java from any of those regions. This allows developers and system administrators to choose the location closest to the systems downloading the JDK and to comply with requirements that mandate downloads from particular locations.
The domain for the download command used in your scripts and dockerfiles will clearly indicate the region from which Java will be downloaded.
Users of OCI dedicated regions can reach out to their Oracle Representatives to set up JMS Java Download Services in their dedicated servers.
Oracle releases quarterly updates to all supported Java versions with critical security and functional fixes as well as performance upgrades. We strongly recommend that users update their Java runtimes to an up-to-date version as soon as possible.
To allow for scripts and dockerfiles to remain unchanged, yet get the latest JDK version, we offer the “latest” download commands.
Download locations with the /java/latest/ provide you with the latest release in the selected version. Here is how to use the download command:
curl -H "token: <token value>" -L -O <domain>/java/<version>/latest/<fileNameWithExtn>
For example, if you need to retrieve the latest version of JDK 17 using scripts, without having to update the scripts, use the latest download command for JDK 17 (
It is also possible to request a specific JDK version for download. For this, we offer the “Archive” download commands.
Download locations with /java/archive/ provide a specific release. Here's how the archive download command can be used:
curl -H "token: <token value>" -L -O <domain>/java/<version>/archive/<fileNameWithExtn>
For example, if you need to retrieve JDK 17.0.9, regardless of whether is the latest, use the archive download command associated with the required binary (e.g., /java/17/archive/jdk-17.0.9_windows-x64_bin.zip) in your script. The filenames in the archive download commands specify the exact JDK version. This command ensures you always get JDK 17.0.9.
It is worth noting that the “latest” download commands will work only for as long as there is an up-to-date update for that JDK available. The archive download commands will work for at least two years after the release of that update version.
The maximum value for token expiration is either two years from the EOSL date of the associated JDK version or, in the case of newer LTS releases, the time when the JDK version is expected to change to a different license agreement. On approaching the change of license terms for the newer LTS JDK versions, JMS will provide provisions to accept the new terms, enabling you to extend the token expiration date to ensure your scripts continue running. You will need to accept the new terms before downloading under the new license agreement.
Java Download provides download reports to help you understand download trends across your organization. These reports are available for download directly from OCI, making it easy for you to analyze how many times your systems have downloaded each version.
The reports include information about:
Understanding Java download trends and patterns allows you to make better-informed decisions.
To benefit from the full capabilities of JMS Java Download, you'll need an Oracle Cloud Infrastructure (OCI) account. To benefit from the full capabilities of JMS Java Download, you'll need an Oracle Cloud Infrastructure (OCI) account. To benefit from the full capabilities of JMS Java Download, you'll need an Oracle Cloud Infrastructure (OCI) account. If you don’t already have one, you can create a free account, which includes a free time-limited promotional trial. This trial provides you with $300 of cloud credits that are valid for up to 30 days. You can spend these credits on any eligible Oracle Cloud Infrastructure service.
Here's how to begin your journey:
With your OCI account, you can create tokens, generate script-friendly download commands, and leverage the comprehensive features of Java Download to streamline your Java download experience. The free tier account is an excellent starting point to explore Java Download and its myriad features. By following these steps, you'll be well on your way to maximizing your Java development and management capabilities with OCI's Java Download.
Read and understand the license agreement for the specific JDK version you intend to use, before creating tokens or downloading directly from the console.
Sanju Nair is a Product Manager in the Java Platform Group at Oracle. He has worked in the IT industry for 10 years starting as a Java developer in Wipro Technologies and Oracle before moving into Product Management roles at NTT-Netmagic and Oracle. Sanju currently manages Java Management Service, JDK Mission Control and Java Advanced Management Console at Oracle.
Previous Post