Wingetlywingetly
← Back to Java(TM) SE Development Kit 20

Silent install command for Java(TM) SE Development Kit 20 20.0.2.0

The exact silent switches the Java(TM) SE Development Kit 20 installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.

One-line silent install (x64, machine scope)
msiexec.exe /i jdk-20.0.2_windows-x64_bin.msi /quiet /norestart

Run from the directory containing jdk-20.0.2_windows-x64_bin.msi. Download the installer from the Direct link below first. Run an elevated terminal (Run as Administrator) for machine-scope installs.

ArchitectureScopeTypeSilent switchesSource
x64machineMSI
WiX
Default for WiX (MSI)
  • Declared by publisher means the switches come straight from the winget manifest the publisher (or community maintainer) submitted to microsoft/winget-pkgs.
  • Default for {type} means the manifest doesn't specify silent switches, so the framework's standard switches are shown (e.g. /S for NSIS, /quiet /norestart for MSI).

Frequently asked questions

What is the silent install command for Java(TM) SE Development Kit 20?
Java(TM) SE Development Kit 20 uses MSI (WiX). After downloading the installer, run: msiexec.exe /i jdk-20.0.2_windows-x64_bin.msi /quiet /norestart. The silent install switches are /quiet /norestart.
How do I deploy Java(TM) SE Development Kit 20 via Intune or Configuration Manager?
Use winget for the cleanest path: winget install --id Oracle.JDK.20 --exact 20.0.2.0 --silent --accept-package-agreements --accept-source-agreements. If winget isn't viable in your environment, package the publisher's installer directly using the silent switches above.

Prefer the winget route? See the full Java(TM) SE Development Kit 20 install page.