DEV Community

Cover image for Microsoft Java got released
Sandra Ahlgrimm for Microsoft Azure

Posted on • Edited on

Microsoft Java got released

Yes, you read correctly. We just announced the Preview of Microsoft Build of OpenJDK on Twitter and on the official announcement.

The Microsoft Build of OpenJDK is a new no-cost Long-Term Support (LTS) distribution of OpenJDK. It is open source and available for free for anyone to deploy anywhere.

It includes binaries for Java 11, based on OpenJDK 11.0.10+9, on x64 server and desktop environments on macOS, Linux, and Windows. We are also publishing a new Early Access binary for Java 16 for Windows on ARM, based on the latest OpenJDK 16+36 release.

Visit aka.ms/msopenjdk to download packages and installers.

Learn more here at the official announcement: https://aka.ms/microsoft-java.

Please use the comments for your thoughts and questions, or share them directly at the GitHub repository.

GitHub logo microsoft / openjdk

Microsoft Build of OpenJDK

Microsoft Build of OpenJDK

To learn more about this distribution, visit microsoft.com/openjdk.

Releases

Visit the Releases page for the latest versions of the Microsoft Build of OpenJDK.

Source Code

The source code of our builds are hosted on the following repositories:

  1. microsoft/openjdk-jdk11u
  2. microsoft/openjdk-jdk17u
  3. microsoft/openjdk-jdk21u

The source code of our container images are hosted on the following repository:

Contribute

Feel free to open Issues in this repository, or any of the repositories above, as well as initiating conversations through GitHub Discussions.

Jobs

Looking for open jobs in the Microsoft Java Engineering Group? See ./JOBS.md.

License

MIT

Q: Why is the license for this repo MIT as opposed to GPLv2+CE?

A: Because this repo doesn't contain actual OpenJDK source code. We only use this repository for general issues, discussions and possibly GitHub Actions workflows.

Feedback

If you have any thoughts about our binaries, please share them here.




Also, have a look at the Open Source Repository!

GitHub logo microsoft / openjdk-aarch64

Microsoft builds of OpenJDK for AArch64 Platforms

OpenJDK for Windows on ARM64

This project holds the documentation for Microsoft's port of OpenJDK for Windows on ARM64 devices.

The Microsoft Build of OpenJDK

General Access (GA) binaries can be downloaded from the official release page.

A number of older builds can be found under the releases tab.

JDK Enhancement Proposal

The JEP can be found at https://openjdk.java.net/jeps/388.

The work was tracked under the JDK-8248496 item and has been delivered in OpenJDK 16. The work was later backported to JDK 11.

Source Code

Source code changes required to implement this port were tracked under JDK-8248238.

The port was merged into OpenJDK 16 and since then has been part of the OpenJDK mainline. Like previously stated, the port was later backported to JDK 11.

Top comments (32)

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

Holy shit! So what's Microsoft's strategy here? Is it just OpenJDK or do you guys add some stuff like IBM does with its JDK? What about the JVM, is it Hotspot? Any plans regarding GraalVM?

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

It's mainly OpenJDK. We'll also continue contributing to OpenJDK and to sponsor AdoptOpenJDK. But in order to offer support and to make sure that critical patches and features can be added in no time, we need this Microsoft Build of Open JDK.
We need it anyhow for our in-house 500k+ JVMs and then thought, why not give back? Why not give back to the community? 💜

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

I love the new Microsoft. 😃
Thank you, Sandra!

Thread Thread
 
sandraahlgrimm profile image
Sandra Ahlgrimm

Thank you for sharing this feedback!

Collapse
 
190245 profile image
Dave

This was my concern, too. If, and it's a big if, they push GraalVM and help Spring to make something that "just works" - I'll be interested.

I understand why they say it's OpenJDK 11, because LTS, so I would hope they have later versions too, otherwise there's an awful lot to catch up on by the time 17 launches as LTS later this year.

Collapse
 
denday04 profile image
Andreas Stensig

They adresss this in the short Q&A at the end of the announcement article.

Thread Thread
 
190245 profile image
Dave

I assume you mean the OpenJDK11/17 issue, because I don't see any mention of Graal in the official announcement article...

Thread Thread
 
denday04 profile image
Andreas Stensig

Yes, I was referring to future JDK versions.

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

Pushing GraalVM is on our Roadmap. However, not at the top so far, but we are reevaluating at least every quarter :)

Thread Thread
 
190245 profile image
Dave • Edited

# Push it, push it real good # - Salt N Pepa

(Please.)

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Just hoping that googling How To Install Java, would get builds other than Oracle's.

Collapse
 
denday04 profile image
Andreas Stensig

Personally I use choco to handle that. Easy:

choco install openjdk11

But I get what you mean - it's immediately apparent how to do it for someone who isn't well-versed in the opensource side of Java's ecosystem.

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

Yes, I also stick with that and use chocolately or homebrew to install and use OpenJDK for my dev machine. But for the apps in production, we need to speak about support as well

Collapse
 
robkenis profile image
Rob Kenis

I've been using sdkman.io/ for a while now. Gives me the option to choose versions and builds. Not sure if it fits your needs, but you could give it a shot.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

lol. Of course I know how, but not for most laypersons that I don't want to bundle JRE.

Collapse
 
_hs_ profile image
HS

SDKMan

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

Haha, I think the easiest is to work with VSCode Coding Pack: aka.ms/install-java

You can watch me installing and using in 4 minutes here: youtube.com/watch?v=UTzXDmC5q2Y

Collapse
 
goodevilgenius profile image
Dan Jones

Microsoft Java

😆

I thought you called that C#

Collapse
 
biffbaff64 profile image
Richard Ikin

Yes, but C# makes you use Dictionary when what you're using isn't a Dictionary and I'm irrationally annoyed by that...

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

hahahaha, as there would be just one solution 😂

Collapse
 
sdevore profile image
Info Comment hidden by post author - thread only accessible via permalink
Sam DeVore

I am sure the timing had nothing to do with the Supreme Court ruling against Oracle on Monday the 5th theverge.com/2021/4/5/22367851/goo... and supremecourt.gov/opinions/20pdf/18...

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

no, nothing.

Collapse
 
_hs_ profile image
HS

Last time this happened Sun got angry and C# was released so....

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

Luckily things got a lot more open since then

Collapse
 
ben profile image
Ben Halpern

Whoa

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

YES!

Collapse
 
eljayadobe profile image
Eljay-Adobe

Unexpected! Unanticipated! Unbelievable!
Wow!

Collapse
 
spiritupbro profile image
spiritupbro

i didn't even use java but i think this is good for open source first dotner now this im still waiting for typesafe python though

Collapse
 
praveengowthaman profile image
Praveen Gowthaman

woaaaaaah .... awesome

Collapse
 
upupkenchoong profile image
Ken Choong

Lol.. I only use Java for Android, did this Microsoft Java import that?

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

I'd go with developer.android.com/ for mobile development

Some comments may only be visible to logged-in visitors. Sign in to view all comments. Some comments have been hidden by the post's author - find out more