Android Studio JDK version 21 vs. JetBrains IDEs JDK 25

Hi

I wanted to test my plugin against the latest nightly Android Studio:

Android Studio Quail 1 | 2026.1.1 Nightly 2026-05-08
Build #AI-261.23567.138.2611.15373837, built on May 8, 2026
Runtime version: 21.0.10+-117844308-b1163.108 aarch64137.0.17
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 26.3.1
Exception reporter ID: 27122521ce51b2a-eb56-46fc-89bd-4bc484afbd61
StudioFlags with current overrides:
  LazyStudioFlagSettings(StudioFlagSettings(data.size=1)):
    journeys.with.gemini.enable.journeys.with.gemini.execution=true
  PropertyOverrides(cache.size=490):
    flags.configuration.level=PREVIEW
    gradle.ide.use.stable.agp.version.for.new.projects=true
  MendelOverrides(MendelFlagsProvider count=1):
  ServerFlagOverrides(No server flags are enabled.):
  AgpReleaseBranchProvider(releasedWithAgp=true):
    gradle.ide.use.alongside.agp=true
  AgpTestSuitesProvider(journeysWithGeminiEnabled=true):
    agp.test.suites.enabled=true
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 12
Metal Rendering is ON
Registry:
  ide.experimental.ui=true
Non-Bundled Plugins:
  com.intellij.modules.jcef (261.22158.414-mac-arm64)
  Subversion (261.23567.176)
  PerforceDirectPlugin (261.23567.28)
  com.gafner.azd (2026.1.51)

And got plenty excpetions since it is still using JDK 21 compare to other JetBrains IDE that use JDK 25.

Since I put some efforts in migrating my plugins to JDK 25 I wonder if there is a suggestion on what to do in this case?

Thanks

As far as I know they also will need to use JDK 25 at runtime, at least we are asking them to do so

I didn’t specify JDK 25 or 21—the system just used the default boot JDK. Are you saying that we should expect users to manually switch to JDK 25?

IntelliJ IDEA 2026.1 runs on JDK 25 by default, we expect that next Android Studio based on it will do the same