Java 17 is five years old, but it is still the runtime behind a large share of production Java services. If you are standardizing a new service, inheriting an application, or answering a security review, the practical question is not whether Java 17 works. It is which JDK 17 build your organization can license, patch, and support for as long as the application lives.
Most OpenJDK builds run the same bytecode, pass the same compatibility tests, and behave the same under load. The differences that matter are commercial: the license, the patch horizon, the platforms you get binaries for, and who answers the phone when something breaks. This guide separates those differences, maps common deployment contexts to a sensible default, and ends with checks that confirm the build you chose is actually the one running.
Table of Contents
- What every OpenJDK 17 build shares
- The four things that actually differ
- Vendor by vendor: licenses and patch horizons
- Oracle JDK 17
- Eclipse Temurin
- Amazon Corretto
- Azul Zulu
- BellSoft Liberica
- Red Hat and Microsoft builds
- Match the build to your deployment context
- Should a new project use 17, 21, or 25?
- Make sure the chosen build is the one running
- Conclusion
What every OpenJDK 17 build shares
Every distribution in this comparison is built from the OpenJDK source tree and implements the Java SE 17 specification. They are not forks with different language semantics.
That compatibility is why migration between vendors is usually uneventful. A Spring Boot service, a Kafka client, or a Maven build does not care whether the java binary comes from Temurin or Zulu, as long as the major version and patch level are appropriate. Vendors do add their own fixes and backports on top of upstream OpenJDK, but those changes are intended to preserve compatibility rather than change the platform.
The practical consequence: choose a distribution for operational reasons, not for performance folklore. Benchmark your own application if performance is critical, then pick the vendor that gives you the support terms and patch cadence your risk model requires.
The four things that actually differ
- Licence. Some builds are free for commercial production use under an open-source license; Oracle JDK 17 is not, except for limited uses.
- Patch horizon. The date when security and bug-fix updates stop varies by years between vendors.
- Platform coverage. Linux x64 is universal. Alpine/musl, ARM64, ppc64le, s390x, Solaris, 32-bit Windows, and specialized JREs are not.
- Commercial support. A free binary with community triage is different from a contractual SLA with a named support contact.
Update cadence also matters. Most vendors ship quarterly updates aligned with the OpenJDK schedule, plus out-of-cycle fixes for urgent security issues. A vendor that stops at the quarterly cadence may still be acceptable, but confirm how emergency patches are handled before you standardize.
Vendor by vendor: licenses and patch horizons
Oracle JDK 17
Oracle JDK 17 is the commercial build from the company that leads OpenJDK, but its license changed in October 2024. Updates through 17.0.12 were available under the free No-Fee Terms and Conditions (NFTC) license. Starting with 17.0.13, Oracle JDK 17 updates are offered under the Oracle Technology Network (OTN) license, which permits personal use, development, testing, and some other limited uses at no cost, but requires a paid Java SE subscription for general production use.
Paid subscribers receive JDK 17 updates until at least September 2029, according to Oracle's JDK 17 download and licensing notes. For a new project, Oracle JDK 25 is a different proposition: it is free to use in production under the NFTC, with updates under that license planned until September 2028. If your organization already has a Java SE Universal Subscription, Oracle JDK 17 is a defensible choice. If not, the free-use window for 17 has already closed.
Eclipse Temurin
Eclipse Temurin is the vendor-neutral build produced by the Eclipse Adoptium project. It is free, available as binaries, installers, and official container images, and governed by a multi-vendor working group rather than a single cloud provider.
The catch is that "free" does not mean "contracted." Adoptium's Temurin support page explains that the project provides community triage, not service-level agreements, and that commercial support comes from companies that offer it on Temurin binaries. Its roadmap currently lists Java 17 as available at least through January 2029, and Adoptium says it will keep building LTS binaries as long as the upstream source is maintained. That makes Temurin a strong default for on-premises, multi-cloud, and Kubernetes environments where you want a neutral build and can live without a vendor SLA.
Amazon Corretto
Amazon Corretto is AWS's free, production-ready OpenJDK build, licensed under GPLv2 with the Classpath Exception. The Amazon Corretto FAQ states that Corretto is certified with the Java Technology Compatibility Kit (TCK) and can be used as a drop-in replacement for other Java SE distributions. AWS ships quarterly updates, applies urgent security fixes outside the quarterly cycle when needed, and uses Corretto internally on thousands of production services. It also includes patches that may not yet be integrated upstream, chosen for stability and performance in large-scale deployments.
The same FAQ gives JDK 17 a last planned update in July 2029 and end of life in October 2029. Corretto is available for Linux glibc and musl, Windows, and macOS, which covers Alpine-based containers as well as standard Amazon Linux images. One nuance: Corretto's long-term support commitment is separate from AWS Support Plans. A support plan covers Corretto like other AWS services, but the free LTS commitment does not depend on having one.
Azul Zulu
Azul Zulu is a free OpenJDK build with a commercial support business behind it. Azul's Java support roadmap commits to at least eight years of production support for LTS releases, plus two years of extended support to help teams migrate. For Java 17, that means production support through September 2029 and extended support through September 2031.
Zulu is a common choice when you need a broader platform matrix than the major cloud vendors provide, or when procurement wants a support contract that outlasts the application's current upgrade cycle. Azul also offers specialized builds and commercial products for latency-sensitive workloads, but those are separate from the free Zulu distribution.
BellSoft Liberica
BellSoft Liberica is another free OpenJDK build with a paid enterprise support option. BellSoft's Liberica support page lists commercial support for JDK 17 through March 2030, with coverage for Linux, Windows, macOS, and Solaris, 32-bit and 64-bit builds, and Full, Standard, and Lite variants.
Liberica is particularly relevant to Spring Boot teams because Paketo buildpacks use Liberica as their JVM provider. If your platform team already builds images with Paketo, choosing Liberica upstream avoids a second JDK vendor in the supply chain. The trade-off is the same as with any single-vendor build: you depend on that vendor's pricing and licensing decisions over time.
Red Hat and Microsoft builds
Red Hat's build of OpenJDK is the JDK shipped with Red Hat Enterprise Linux. It is covered by a RHEL subscription, receives four updates per year, and is available for RHEL 8.4+ and 9 on aarch64, ppc64le, s390x, and x86_64. Red Hat's OpenJDK life cycle policy lists full support for OpenJDK 17 through December 31, 2027, with an optional Extended Life Cycle Support phase through January 31, 2029. If your application already runs on RHEL and you want one support contract for the OS and the JVM, this is the least complicated path.
Microsoft's build follows a similar logic for Azure. Microsoft's support roadmap for the Microsoft Build of OpenJDK gives Java 17 an earliest end-of-support date of September 2027, with quarterly updates and possible extensions. Commercial support is only available for Azure customers with active support plans, and only for Java workloads deployed to Azure and Azure Stack services. Outside Azure, the build is community-supported. That makes it a natural default on Azure and a questionable one anywhere else.
Match the build to your deployment context
| Deployment context | Likely default | Why it fits |
|---|---|---|
| AWS, Amazon Linux, ECS, or EKS | Amazon Corretto 17 | Free LTS with end of life in October 2029, musl builds for Alpine, AWS-maintained |
| Azure App Service, Functions, or Spring Apps | Microsoft Build of OpenJDK 17 | The build Microsoft supports commercially on Azure workloads |
| Spring Boot images built with Paketo buildpacks | BellSoft Liberica 17 | Paketo already installs Liberica, so no override is needed |
| RHEL 8.4+ or 9 production hosts | Red Hat build of OpenJDK 17 | Included in the RHEL subscription; full support to December 2027 |
| On-premises, multi-cloud, or vendor-neutral Kubernetes | Eclipse Temurin 17 | Free, neutral governance, wide availability, no cloud lock-in |
| Solaris, 32-bit, embedded, or a wide platform matrix | Azul Zulu or BellSoft Liberica | Broader platform coverage and commercial SLAs |
| An existing Oracle Java SE estate | Oracle JDK 17 with a subscription | Keeps Oracle support to at least September 2029 |
The Spring Boot row deserves a note. The Paketo Java buildpack reference states that the buildpack uses BellSoft Liberica implementations of the JRE and JDK, and that only the JRE is contributed to the application image. That is fine for most teams, but it is a supply-chain decision worth recording explicitly rather than discovering during an audit.
Two contexts need a deliberate decision rather than a default. First, regulated environments often require a support contract with a named vendor, which rules out community-only builds even when the binaries are identical. Second, organizations with a mixed estate should optimize for the fewest distinct JDKs that still satisfy each platform's support requirements. Every additional distribution is another patch stream, another SBOM, and another exception in your vulnerability process.
Should a new project use 17, 21, or 25?
In late 2026, Java 25 is the current LTS, Java 21 is still supported, and every major vendor still offers a supported JDK 17 build, although some support windows end sooner than others. Adoptium's roadmap lists Java 21 as available at least through September 2031 and Java 25 at least through September 2033. Java 27, released in September 2026, is a non-LTS feature release with a short support window, so it is a poor default for production unless you deliberately upgrade every six months.
For a new service with no hard constraints, start on Java 25. You get the longest patch horizon, the current language and runtime improvements, and a free production license from Oracle under the NFTC until September 2028 if you choose Oracle's build. Fewer and fewer libraries justify starting a greenfield project on 17 in 2026.
Choose JDK 17 when a concrete constraint makes it the cheaper or safer option:
- A commercial product, agent, or profiler is certified only on 17.
- The application depends on a framework version that does not yet run on 21 or 25.
- Re-certification or re-validation would cost more than the support-window benefit.
- A container base image or managed runtime pins the JVM version and changing it is out of scope.
If you stay on 17, write down the exit condition. A useful decision record contains the chosen distribution and exact version, the license under which it is approved, the vendor's end-of-support date, the owner, and the trigger that forces a re-evaluation. Good triggers are the vendor's end-of-full-support date, the next framework upgrade, a security policy that requires a supported runtime, or the next major release of the service. Without a trigger, "we will upgrade later" becomes an indefinite exception.
Make sure the chosen build is the one running
Selecting a vendor is only half the job. Developer laptops, CI runners, container base images, and production hosts often drift apart, and a CI job that compiles against Temurin 17 while production runs an old Oracle JDK 17 is a support and security gap.
Start by checking the vendor string, not just the version number:
java -version javac -version echo "$JAVA_HOME" readlink -f "$(which java)" The first line of java -version should name the vendor you standardized on, such as Temurin, Corretto, Zulu, Liberica, or Microsoft. If it says something else, an older JDK is earlier on PATH or still selected by the alternatives system. On Linux, update-alternatives --config java and update-alternatives --config javac show and change the active choice; on RPM-based systems the command is usually alternatives --config java.
Do the same check inside the built container image, not only in the Dockerfile:
docker run --rm your-image:tag java -version Then pin the exact distribution and update level in three places: the CI toolchain, the runtime base image, and the deployment manifest or host configuration. Record the expected output in the repository so a future change is visible in review. After you have selected a build, the platform-specific steps for Windows, macOS, and Linux in this guide on how to install and verify JDK 17 walk through installation, JAVA_HOME, and the same verification checks, which helps confirm that the intended distribution is the one on PATH.
Conclusion
Most JDK 17 distributions are interchangeable at the bytecode level. The real decision is commercial and operational: Oracle JDK 17 requires a paid subscription for general production use after the 2024 license change, while Temurin, Corretto, Zulu, Liberica, Red Hat, and Microsoft builds offer no-cost binaries or subscription-covered builds with different support horizons and platform coverage.
Use the deployment context as your first filter: Corretto on AWS, Microsoft's build on Azure, Red Hat's build on RHEL, Liberica with Paketo buildpacks, and Temurin for neutral or multi-cloud environments. Then check the patch horizon against your application's expected life. For new projects in 2026, Java 25 is the better default; keep Java 17 only where a concrete constraint justifies it, and record the date or event that will force the next decision.
