Introduction
Amazon Corretto is a free, production-ready, TCK (Technology Compatibility Kit) certified OpenJDK distribution from Amazon Web Services that eliminates Oracle JDK’s licensing fees, with Azul Zulu providing a vendor-neutral alternative for teams not committed to the AWS ecosystem. The choice between Oracle JDK, Amazon Corretto, and Azul Zulu reflects broader decisions about cloud strategy, vendor dependency, and total cost of ownership.
Amazon entered the JDK distribution market in 2019 with Corretto, offering a free, AWS-backed OpenJDK alternative as Oracle simultaneously increased licensing pressure on Java 8 and 11. Corretto has since become one of the most widely used JDK distributions, particularly for AWS-hosted workloads. For organizations with diverse cloud or hybrid infrastructure, the AWS-centric nature of Corretto’s support and optimization is a consideration.
What Is Amazon Corretto?
Amazon Corretto is Amazon Web Services’ free, open-source distribution of OpenJDK. Corretto is available for Java 8, 11, 17, 21, and 25 under the GPL+CE license. AWS provides security patches and bug fixes for Corretto, with long-term support commitments of at least 4 years for each LTS release. Corretto runs on Linux, Windows, and macOS, and is the default Java runtime in Amazon’s Lambda, Elastic Beanstalk, and other managed services.
Amazon contributes to upstream OpenJDK development and maintains Corretto-specific patches that improve performance and security for AWS workloads. Corretto is a strong choice for Java applications deployed on AWS infrastructure. However, outside of AWS environments, Corretto’s advantages are less pronounced, and its support model is primarily oriented toward AWS customers.
What Is Oracle JDK?
Oracle JDK is Oracle’s Java SE distribution, the reference commercial JDK built from the same OpenJDK source code used by Corretto and Zulu. Oracle provides LTS releases for Java 8, 11, 17, 21, and 25 Java 8 and 11 require paid Java SE subscriptions for production use priced per employee under Oracle’s Java SE Universal Subscription (counting all employees plus contractors). Java 17 and 21 are available under the NFTC (No-Fee Terms and Conditions) at no cost for most production deployments.
Oracle JDK remains common in legacy enterprise environments and Oracle technology stack deployments. The Java SE subscription model provides Oracle-backed support, security patches, and long-term availability. However, the cost and compliance burden of Oracle Java SE subscriptions has driven a significant migration wave toward free OpenJDK distributions like Corretto and Zulu.
Oracle JDK vs Amazon Corretto Comparison
| Feature | Oracle JDK | Amazon Corretto |
|---|---|---|
| License | NFTC (17+) / Commercial (8, 11) | GPL+CE (free) |
| Cost | Per-employee subscription (8, 11) | Free for all use |
| Support | Oracle Java SE Subscription | AWS (best on AWS infrastructure) |
| LTS Versions | 8, 11, 17, 21, 25 | 8, 11, 17, 21, 25 |
| Best For | Oracle ecosystem, on-premises | AWS-hosted workloads |
| Multi-cloud | Limited (Oracle-tied) | Limited (AWS-tied) |
| TCK Certified | Yes | Yes |
Licensing and Cost
The licensing comparison between Oracle JDK and Amazon Corretto is straightforward: Corretto is free under GPL+CE, while Oracle JDK 8 and 11 require paid subscriptions for production use. For organizations running Java 8 or 11 in production on Oracle JDK, switching to Corretto or Azul Zulu eliminates direct licensing costs immediately.
For Java 17 and 21, both Oracle JDK under NFTC and Corretto are free. While individual enterprise users deploying Java 17 on their own infrastructure are unlikely to be affected by this restriction, it is worth noting as a policy matter.
The real cost comparison for modern Java versions shifts to commercial support pricing. Oracle Java SE subscription costs significantly more than equivalent commercial support from Azul Core for Zulu deployments. For organizations that need SLA-backed commercial support, Azul Core for Zulu typically delivers better value than Oracle’s Java SE subscription.
- Corretto eliminates Oracle JDK licensing fees for Java 8 and 11
- Corretto is best suited for AWS-hosted Java workloads
- For multi-cloud deployments, Azul Zulu offers vendor-neutral GPL+CE licensing
- Azul Core provides competitive commercial support across all platforms
Performance and Support
Oracle JDK, Amazon Corretto, and Azul Zulu all deliver equivalent performance on standard HotSpot JVM workloads. All three are built from the same OpenJDK codebase with the HotSpot JVM, G1GC default, and C1/C2 JIT compilation. Benchmark comparisons consistently show no meaningful performance difference between these distributions.
Amazon maintains Corretto-specific patches that may improve performance for specific AWS workload patterns, particularly for Lambda cold starts and EC2 container workloads. These optimizations are meaningful in AWS-specific contexts but provide no advantage for non-AWS deployments. Similarly, Azul provides container-aware optimizations in Zulu that benefit Kubernetes and Docker deployments across any cloud provider.
For production support, Corretto relies on AWS’s support infrastructure, which is excellent for AWS customers but limited for on-premises or other cloud workloads. Azul Core provides platform-agnostic support covering Linux, Windows, macOS, and any cloud environment. Oracle’s Java SE subscription provides support across Oracle’s certified platforms. For organizations with diverse infrastructure, Azul Core’s cross-platform support model is a comprehensive option.
Which Should You Choose?
Amazon Corretto is the right choice for Java workloads that run primarily on AWS infrastructure. AWS-native integrations, AWS-backed security patches, and inclusion as the default Java runtime in AWS managed services make Corretto a natural fit for AWS-committed organizations.
Oracle JDK is defensible primarily for organizations with existing Oracle technology stack integrations or bundled Java SE licensing within Oracle contracts. For standalone Java deployments not tied to other Oracle products, the subscription cost is difficult to justify against free alternatives.
Azul Zulu is a leading vendor-neutral alternative for organizations running Java across multiple clouds, on-premises, or in hybrid environments. Zulu’s Java version coverage (6 through 25+) exceeds both Corretto and Oracle JDK, and its platform support across Alpine Linux, ARM64, and diverse Linux distributions is broader than Corretto’s. For organizations that value cloud portability and vendor independence, Azul Zulu with optional Azul Core support is a strategically sound choice.
Frequently Asked Questions
Is Amazon Corretto free for production use?
Yes. Amazon Corretto is free for production use under the GPL+CE license. There are no per-processor fees, subscription requirements, or AWS service dependencies for using Corretto in production. You can download and deploy Corretto on any infrastructure at no cost. AWS provides security patches and updates for Corretto LTS versions at no charge.
What is the difference between Amazon Corretto and Azul Zulu?
Both Amazon Corretto and Azul Zulu are free, TCK-certified OpenJDK distributions. The key differences are platform focus and vendor ecosystem. Corretto is optimized for AWS workloads and supported by Amazon. Zulu is platform-agnostic and supported by Azul Systems, available across more platforms (including Alpine Linux, ARM64) and Java versions (6-25+). For multi-cloud or on-premises deployments, Zulu provides broader flexibility. For AWS-only deployments, Corretto is a natural choice.
Does Amazon Corretto work on Windows and macOS?
Yes. Amazon Corretto provides builds for Windows (x86-64), macOS (x86-64 and ARM64), and Linux (x86-64 and ARM64). However, Corretto’s optimization and support are primarily focused on Linux and AWS environments. For Windows and macOS development workstations, Azul Zulu or Eclipse Temurin may offer more comprehensive platform-specific testing and support.
What happens to Amazon Corretto support outside of AWS?
Amazon provides Corretto security patches and updates for all supported LTS versions regardless of deployment environment. However, AWS’s support infrastructure and SLA commitments are primarily structured around AWS service customers. For non-AWS deployments requiring commercial SLA-backed Java support, Azul Core (for Zulu) provides more comprehensive coverage across all platforms and environments.
Is Azul Zulu better than Amazon Corretto for enterprise use?
Azul Zulu offers advantages over Corretto for enterprises with diverse infrastructure. Zulu supports more Java versions (6-25+, vs. Corretto’s 8, 11, 17, 21, 25), more Linux distributions, and Alpine Linux for container optimization. Azul Core commercial support covers all platforms with consistent SLAs, which is difficult to replicate with Corretto outside of AWS. For AWS-only shops, Corretto and Zulu are both excellent choices and the decision may come down to ecosystem preference.
Conclusion
Amazon Corretto is an excellent free alternative to Oracle JDK for AWS-hosted Java workloads, eliminating Oracle’s licensing fees with a well-maintained, TCK-certified distribution. For organizations with multi-cloud, hybrid, or vendor-neutral Java strategies, Azul Zulu offers broader platform coverage, extended Java version support, and optional commercial support through Azul Core.
Regardless of whether you choose Corretto or Zulu as your Oracle JDK replacement, moving away from Oracle’s paid subscription model for Java 8 and 11 delivers immediate and substantial cost savings. Azul Zulu is particularly compelling for organizations that want a single JDK distribution that works consistently across all environments.