News

Microsoft Previews Its Own Build of OpenJDK

"We use more Java than one can imagine," Microsoft says. Along with using it, the company is contributing to it, most recently by previewing the Microsoft Build of OpenJDK, described as "a new no-cost long-term supported distribution and Microsoft's new way to collaborate and contribute to the Java ecosystem."

Microsoft jumped on the Java bandwagon in a big way in 2019 by forming the Java Engineering Group in its Developer Division and acquiring jClarity to optimize Java workloads in its Azure cloud platform (despite the similarities between Java and Microsoft's own C#). Last year, it ported OpenJDK for Windows 10 on Arm (AArch64)-based devices.

But the new Microsoft Build of OpenJDK is a much bigger step. Announced as a preview -- not ready for production use -- it provides Java 11 binaries (based on OpenJDK 11.0.10+9) for x64 server/desktop implementations on macOS, Linux and Windows.

Java 11, however, was released about 2-1/2 years ago, and the company also is publishing a new Early Access binary for the recent Java 16 for Windows on ARM, with OpenJDK 17 binaries on tap for this year after Java 17 is finalized. The build based on 2018 tech is a preview because Microsoft wants to solicit feedback from developers to round it into GA shape.

For now, the preview already conforms to Java 11 specs and can replace any other OpenJDK distro out there. What makes the Microsoft Build of OpenJDK 11 binaries different from those, the company says, is "backported fixes and enhancements we deem important to our customers and our internal users."

Microsoft Build of OpenJDK on Azure Cloud Shell in Animated Action
[Click on image for larger, animated GIF view.] Microsoft Build of OpenJDK on Azure Cloud Shell in Animated Action (source: Microsoft).

The company is also eating its own dog food, noting that its extensive internal usage of the language includes running more than 500,000 Java Virtual Machines (JVMs), of which more than 140,000 are already based on the Microsoft Build of OpenJDK. So it's apparently production-ready enough for the Redmond, Wash., software giant.

Java at Microsoft
[Click on image for larger view.] Java at Microsoft (source: Microsoft).

Azure is still a primary target of internal Java development -- powering critical tasks and supporting global infrastructure -- but those JVMs are also used for back-end microservices, Big Data systems, message brokers, event streaming services and gaming servers. For examples, Java powers back-end services for both its LinkedIn and Yammer properties, which are mostly implemented on distributed cloud-native Java microservices.

"Java is one of the most important programming languages used today -- developers use Java to build everything from critical enterprise applications to hobby robots," the company said in an April 6 announcement. "At Microsoft, we've seen increasing growth in customer use of Java across our cloud services and development tools. We're continually working to broaden and deepen our Java support for customers and developers."

Longtime readers of Visual Studio Magazine may remember the company's own Microsoft Java Virtual Machine (JVM) technology, which it discontinued back in 2009 shortly after Oracle agreed to buy Sun Microsystems. That preceded an incredibly complex and long series of Java-related court battles that still continues to this day between Oracle and Google.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube