Install the Microsoft Build of OpenJDK

Mohamad MahmoodMohamad Mahmood
1 min read

Search Microsoft OpenJDK versions

winget search Microsoft.OpenJDK

Output:

Install version 17:

winget install Microsoft.OpenJDK.17

Output:

Post-installation check

java -version

Output:

Check environment path:

echo $env:JAVA_HOME

Output:

Reference:

https://learn.microsoft.com/en-us/java/openjdk/install

Download:

https://learn.microsoft.com/en-us/java/openjdk/download

0
Subscribe to my newsletter

Read articles from Mohamad Mahmood directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mohamad Mahmood
Mohamad Mahmood

Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He studies at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).