VOOZH about

URL: https://thenewstack.io/microsoft-releases-its-own-distro-of-java-21/

⇱ Microsoft Releases Its Own Distro of Java 21 - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-10-02 07:59:00
Microsoft Releases Its Own Distro of Java 21
Java / Software Development

Microsoft Releases Its Own Distro of Java 21

Microsoft delivers its own version of OpenJDK 21.
Oct 2nd, 2023 7:59am by Darryl K. Taft
👁 Featued image for: Microsoft Releases Its Own Distro of Java 21

Microsoft has announced that it has delivered its own distribution of the Microsoft Build of OpenJDK 21 binaries for download.

“The recent release of Java 21, which includes both Language and Virtual Machine specifications changes, contains a series of features that sets Java 21 apart from many previous releases,” said Bruno Borges, Principal PM Manager for Java Engineering Group at Microsoft, in a blog post. “Similarly to how Java 5 changed Java development with the introduction of Generics, and Java 8 with the introduction of Lambdas, the Java community expects the 21st release to significantly and positively impact the Java ecosystem, and we are thrilled to be part of this era of Modern Java Development.”

Regarding new features, Microsoft highlighted the new release 0.2.9 of the Semantic Kernel for Java. Announced back in July, this library will bolster Java applications, and serve as a valuable asset for developers to enhance the capabilities of new and existing applications with augmented intelligence through easy and idiomatic integration of LLMs and AI.

“This release exemplifies the value of open source. With OpenJDK 21 available to the community, Microsoft is free to release that as a part of its own JDK, complete with all of the new features version 21 has to offer and supported by its own long-term licensing plan,” said Brad Shimmin, an analyst with Omdia. “It’s good for Java itself, and it’s good for the ecosystem of both developers and providers, which can rely on the fact that Java 21 from Oracle and Java 21 from Microsoft will work the same, even across these two highly unique communities.”

Microsoft’s continuing support for OpenJDK is a strong indicator of how important Java is in the enterprise software space.

“And the new features of Java 21 such as lightweight threads are maintaining Java’s relevance in the cloud native age,” said Mike Milinkovich, executive director of the Eclipse Foundation. “Being one of the first vendors to ship Java SE 21 support shows how focused Microsoft is in meeting the needs of Java developers deploying workloads on Azure.”

Also, Spring developers will be pleased to know that Spring Boot 3.2 now supports Java 21 features. Many other frameworks and libraries will soon release their JDK 21-supported versions.

“Microsoft has some of the best developer tool makers in the world — to have them add Java to the mix makes sense,” said Richard Campbell, founder of Campbell & Associates. “Of course, that happened a couple of years ago, and JDK 21 is just the latest implementation. In the end, Microsoft wants to ensure that Azure is a great place to run Java, so having a team working on Java running in Azure helps to make that true. What does it mean for the ecosystem? More choices for implementations of Java, better Java tooling, and more places to run Java fast and securely.”

New Features

Meanwhile, Borges wrote that some of the features in Java 21 Oracle is excited about, in terms of APIs, Language features, and HotSpot JVM capabilities delivered through the OpenJDK reference implementation, include:

  1. Simplified Java Learning for Beginners: With the preview of unnamed classes and instance main methods, the pathway for novices to start their Java journey becomes smoother. This change paves the way for a seamless transition from basic to advanced Java programming, ensuring learners have a gradual and intuitive experience. This opens opportunities for integrating simplified coding experience of serverless functions in services like Azure Functions.
  2. Elevating Flexibility with Patterns and Variables: Introducing the preview of unnamed patterns and variables. Denoted by an underscore _, these patterns and variables bolster Java’s match and initialization capabilities.
  3. Boosting Application Performance with Generational ZGC: The Generational ZGC enhancement focuses on performance optimization, reducing the risks of allocation stalls, cutting down on heap memory overhead, and lessening garbage collection CPU overhead. All this, without compromising on the throughput.
  4. Deconstructing Record Values with Record Patterns: Having undergone refinement in JDK 19 and JDK 20, the record patterns in JDK 21 allow for a richer, more expressive data navigation and processing mechanism, co-evolving with pattern matching for switch expressions and statements.
  5. Enhancing Data Queries with Pattern Matching for Switch: Making its final refined appearance in JDK 21, this feature broadens the capabilities of switch expressions and statements, allowing for a safer, more expressive, and concise data-oriented query mechanism.
  6. Unveiling the Power of Virtual Threads: Finalized in JDK 21, virtual threads redefine high-throughput concurrent applications. Offering almost seamless integration with the lang.Thread API and ensuring optimal scalability, this feature is all set to revolutionize concurrent programming.
  7. Sequenced Collections — Addressing the Gaps: With the introduction of sequenced collections, JDK 21 bridges the gap in Java’s collections framework, offering a more unified and streamlined approach to managing collections.
  8. Redefining Strings with String Templates: The preview of string templates brings forth a synergy between literal text and runtime computations. This feature aims to enhance readability, security, flexibility, and simplification, especially when working with strings derived from non-Java languages.

Oracle delivered Java 21 at its recent Oracle CloudWorld conference in Las Vegas.

Commitment to Java

“Microsoft continues to show its commitment to Java with the release of Microsoft Build of OpenJDK 21,” said Rob Sanfilippo, an analyst with Directions on Microsoft. “This release has helpful enhancements such as virtual threads and improved garbage collection. Several Azure services provide a Java runtime, such as App Service, Functions, and Cloud Shell. It’s likely these will support JDK 21 soon, but the support schedules have not been announced, so customers of those services using Java should adjust plans to use JDK 21 accordingly.”

In addition, Borges noted that:

  1. Container images will only be offered for Ubuntu and Mariner 2.0. The Mariner 1.0 Linux distribution has reached EOL and shall no longer be used. Existing Mariner 1.0 images (for 11 and 17) will be removed in October.
  2. JDK 21 will soon be available across Azure PaaS services. Check the Azure service of your preference for updates on documentation and announcements.
  3. Binaries of JDK 21 will be Long-Term Supported (LTS) by Microsoft. Check the support page for updates.
  4. We now have a proof-of-concept launcher for running Java inside Windows Containers in Process Isolation Mode. If you are looking for support for Java inside Windows Containers, please let us know.
TRENDING STORIES
Darryl K. Taft covers DevOps, software development tools and developer-related issues from his office in the Baltimore area. He has more than 25 years of experience in the business and is always looking for the next scoop. He has worked...
Read more from Darryl K. Taft
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.