You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
Add JDK installation support (move from android-platform-support) #270
Add JDK installation support to Xamarin.Android.Tools.AndroidSdk so that consumers (MAUI DevTools CLI, IDE extensions, build tasks) can auto-install missing JDKs instead of just reporting errors.
Background
The android-platform-support (internal) repository already has a working JavaDependencyInstaller implementation that:
Discovers available JDK versions from the Xamarin Android Manifest Feed
Downloads Microsoft OpenJDK archives (per-platform/architecture)
Verifies downloads via SHA-1 checksums from the manifest
Extracts and validates the JDK installation
This capability should be moved to the public Xamarin.Android.Tools.AndroidSdk package.
Proposed API Surface
JdkInstaller.DiscoverAsync() — find available JDK versions from the manifest feed
JdkInstaller.IsValid(jdkPath) — validate an existing JDK installation
Manifest Feed
JDK archives are listed in the Xamarin Android Manifest Feed (https://aka.ms/AndroidManifestFeed/d{version}), which includes:
Activity
Add JDK installation support via Adoptium API
Add JDK installation support via Microsoft OpenJDK
Add JDK installation support via Microsoft OpenJDK
Add JDK installation support via Microsoft OpenJDK
rmarinho commentedon Feb 23, 2026
Implementation Progress
I've started work on the MAUI DevTools integration. Here's the current state for JDK support:
What exists today
JdkInfoclass provides JDK detection (finding existing installations)Dependencies
This issue is blocked by dotnet/android#12068 (Manifest Feed Parsing) — we need the manifest feed to resolve:
Proposed implementation order
Related work
JdkManagerthat currently only does detectionJdkInstaller.InstallAsync()properlyAdd JDK installation support via Microsoft OpenJDK
Add JDK installation support (Microsoft OpenJDK) (#274)
Add JDK installation support (Microsoft OpenJDK) (#274)