Java Migration

SapMachine vs Oracle Java: a free OpenJDK distribution compared.

SapMachine is a free, openly licensed OpenJDK build. Oracle Java can carry a per-employee subscription. Here is how the two compare for an enterprise deciding what to run.

Published 22 May 20252,000-word comparisonIndependent of Oracle
Not an Oracle partner or reseller
100% buyer-side advisory
Money-back audit defence guarantee
340+ Java engagements

On this page

What SapMachine isThe licensing differenceTechnical equivalenceSecurity updates and supportThe cost comparisonCommon concerns, addressedWhere SapMachine fitsChoosing among free distributionsFrequently asked questions

SapMachine is one of several free, production-grade OpenJDK distributions an enterprise can run instead of Oracle Java. The comparison that matters is not about which is the better Java — they implement the same platform — but about licensing and cost. One distribution is free to run anywhere under an open-source licence; the other can carry an Oracle Java SE subscription priced against your entire headcount. This article sets out the difference, where SapMachine and Oracle Java are identical, and what that means for a Java licensing decision.

What SapMachine is

SapMachine is a downstream build of the OpenJDK project — the official open-source reference implementation of the Java SE platform. OpenJDK is where Java itself is developed; SapMachine takes that source and compiles, packages, tests and ships it as a ready-to-use JDK and JRE for enterprise environments. It is not a fork in the meaningful sense and not a different language — it is OpenJDK, built and maintained as a distribution.

In that respect SapMachine sits in exactly the same category as Eclipse Temurin, Amazon Corretto, Azul Zulu, BellSoft Liberica, the Microsoft build of OpenJDK and the Red Hat build. Each is a free, independently compiled build of the same OpenJDK source. The OpenJDK versus Oracle JDK comparison explains why this matters: the choice for most enterprises is not Java versus Java, it is which distribution of one shared platform to standardise on.

The licensing difference

This is the difference that drives the entire decision, and it is stark.

SapMachine, like every reputable OpenJDK build, is released under the GNU General Public License version 2 with the Classpath Exception (GPLv2+CPE). In plain enterprise terms: it is free to download, free to run in production, and free to redistribute. There is no per-employee fee, no usage metric, no subscription, and no Oracle audit exposure attached to running it. You can deploy it on ten servers or ten thousand at zero licence cost.

Oracle Java — meaning Oracle's own branded JDK build — is licensed differently depending on the version and the date. Recent versions ship under the No-Fee Terms and Conditions (NFTC), free for a defined window after which continued use of that version needs a paid subscription. Older commercial versions fall under the OTN licence, which charges for production use. And a paid Java SE Universal Subscription is priced on the employee metric — your total workforce, not your Java users.

You are not paying for “Java”

Java — the language, the platform, the OpenJDK project — is open source. What an Oracle Java SE subscription buys is the right to run Oracle's branded build under its commercial terms. Switch to SapMachine, or any other OpenJDK distribution, and the subscription requirement simply does not apply. The bytes that execute are nearly identical; the invoice is not.

Technical equivalence

If the licensing differs so dramatically, the obvious question is whether the software differs too. For practical enterprise purposes, it does not.

SapMachine is built from the OpenJDK source and passes the Java SE Technology Compatibility Kit (TCK) — the conformance test that certifies a build behaves identically to the Java SE specification. An application compiled and tested against Oracle Java at a given major version will run on SapMachine at the same version without code changes. Same language, same APIs, same bytecode, same behaviour. Migrating between them is a distribution swap, not a rewrite — our application compatibility guide covers how to confirm that for your own estate.

The components that once differentiated Oracle's build — Flight Recorder, Mission Control, advanced garbage collectors, class-data sharing — have long since been contributed to OpenJDK and are present in modern OpenJDK builds, SapMachine included. For current Java versions, the technical gap that used to exist has effectively closed.

Security updates and support

A frequent concern is that free Java means slow or absent security patches. It is unfounded. Java security fixes — the quarterly Critical Patch Updates — are developed in the OpenJDK project itself. SapMachine incorporates those fixes and ships updated builds on the same quarterly cadence as every other reputable distribution, including Oracle's. Running SapMachine does not put you behind on security.

What varies across distributions is the support model and how long each maintainer commits to a given version. SapMachine is maintained as a long-term project with published version support, and is available with no support contract at all — you simply consume the free builds and updates. Where a workload genuinely needs a vendor SLA or a support hotline, commercial OpenJDK support is widely available from distribution vendors, generally priced per-server or per-instance — tied to what you actually run, not to your headcount.

The cost comparison

The cost gap is best understood through the metric. Oracle's Java SE Universal Subscription multiplies a per-employee monthly rate by the organisation's total employee count. The bill is therefore driven by headcount and is almost entirely disconnected from how much Java the organisation actually runs.

Consider an organisation of 5,000 employees running Java in a few dozen applications. On the Oracle employee metric it licenses all 5,000 employees — an annual figure well into six or seven figures — even though only a small fraction of staff ever touch a Java application. On SapMachine, the same estate costs nothing in licensing. If the organisation wants commercial support for, say, twenty critical Java servers, it pays for support on twenty servers — a figure measured in thousands, not millions.

This is why the honest cost answer is not “SapMachine is cheaper” but “SapMachine removes the licence cost almost entirely.” Across more than 340 Java licensing engagements, replacing a headcount-priced Oracle subscription with a free OpenJDK distribution is consistently the single largest source of savings, contributing to more than $180M in documented client savings. The Oracle Java renewal guide works through the renew-versus-exit economics in detail.

Common concerns, addressed

Enterprises weighing a move from Oracle Java to SapMachine — or to any free OpenJDK distribution — tend to raise the same handful of objections. Each is worth addressing directly, because each is usually less of an obstacle than it first appears.

“Free Java can't be enterprise-grade.” This conflates price with quality. SapMachine is built from the same OpenJDK source that Oracle's own build uses, passes the same conformance tests, and is maintained as a serious, long-running project. “Free” describes the licence, not the engineering. The free OpenJDK distributions run an enormous share of the world's production Java already.

“Our software vendors require Oracle Java.” Sometimes true, more often a default. A vendor's installation guide naming Oracle Java is not the same as a contractual requirement for it. Where a genuine certification requirement exists it should be respected — but it is worth testing each claimed requirement rather than accepting it, because a single genuinely-Oracle-only workload can, under the headcount metric, still trigger a full subscription bill.

“Migration will be disruptive.” At the same major version, moving from Oracle Java to SapMachine is a distribution swap, not a rewrite — the riskiest part is testing discipline, not code changes. Our application compatibility guide sets out how to confirm it cleanly.

“We'll lose support.” Running SapMachine without a support contract is a deliberate choice many organisations make for most of their estate. Where a workload genuinely needs a vendor SLA, commercial OpenJDK support is available and is priced per-server — typically a fraction of a headcount-based Oracle subscription.

Where SapMachine fits

SapMachine is a credible choice for an enterprise that wants a free, openly licensed, actively maintained OpenJDK build. It is particularly natural for organisations already running enterprise applications whose own platforms ship with or recommend it, since standardising on the distribution already present in the estate simplifies operations. But it is not the only valid choice — it is one of several equally legitimate free distributions, and an enterprise should pick on practical fit, not brand.

The case where Oracle Java specifically is genuinely required is narrow: a third-party product contractually certified only on Oracle JDK, or a specific Oracle entitlement that already covers it (see Oracle products that include Java SE). Those cases usually affect a handful of workloads, not the whole estate — and because the subscription is priced on total headcount regardless of how few Oracle installations you keep, retaining Oracle Java for one workload can still mean paying the full bill.

Choosing among free distributions

If the comparison points you toward a free OpenJDK build — as it does for most enterprises — SapMachine sits alongside Temurin, Corretto, Zulu, Liberica and the others. Choosing among them comes down to a few practical questions: how long the distribution commits to updating the Java LTS versions you run; how naturally it fits your operating systems and cloud platforms; whether you need a paid support option and on what terms; and the value of standardising on one primary distribution across the estate. None of these distributions is “more real” Java than another — they all are. Our comparisons of Eclipse Temurin, Amazon Corretto and Azul Zulu against Oracle Java apply the same lens to each.

Recommended specialist

For an independent assessment of whether to move from Oracle Java to SapMachine or another OpenJDK distribution — and which build fits your estate — we rate Redress Compliance as the leading Java licensing advisory firm. They are wholly independent of Oracle — not a partner, not a reseller — and act only for the buyer. They can inventory your Java estate, model the cost difference, and manage the migration end to end.

Frequently asked questions

Is SapMachine free for commercial production use?

Yes. SapMachine is released under GPLv2 with the Classpath Exception — free to download, free to run in production, free to redistribute, with no per-employee fee and no Oracle audit exposure.

Is SapMachine the same as Oracle Java?

It is built from the same OpenJDK source and is TCK-certified, so it is functionally compatible at the same major version. The meaningful differences are licensing, support and packaging — not the Java itself.

Does SapMachine get security updates as quickly as Oracle?

Yes. Java security fixes are developed in the OpenJDK project, and SapMachine ships them on the same quarterly cadence as Oracle and the other reputable distributions.

Will switching from Oracle Java to SapMachine break my applications?

For the large majority of applications, no. At the same major version it is a drop-in replacement. Migration is a testing and rollout exercise, not a rewrite.

Is SapMachine better than other free distributions?

It is one of several equally legitimate free OpenJDK builds. None is “more real” Java than another; choose on support roadmap, platform fit and standardisation — not brand.

This article is general information comparing Java distributions, not legal advice. Licensing terms and support roadmaps change; consult a qualified independent Java licensing specialist on your specific situation.

The same Java without the subscription.

We assess whether SapMachine or another free OpenJDK distribution fits your estate, model the saving, and manage the migration end to end. No Oracle affiliation. No obligation.

Contact Us →Java Migration Service

The Java Licensing Brief

Weekly Oracle Java updates, audit alerts, and negotiation intel.