Liberica JDK 21 silent install and uninstall
Liberica JDK is available on a variety of platforms. It is built from OpenJDK which BellSoft contributes to and is thoroughly tested.
- Vendor
- BellSoft
- Category
- Runtimes
- Installer
- Windows Installer (MSI, built with WiX)
- Architecture
- x86, x64, arm64
- Checked version
- 21.0.12.101
- winget ID
BellSoft.LibericaJDK.21- Product code
{A2FEC1BC-F985-420F-9D69-C30D199B63FC}- License
- GPL 2 with Classpath Exception
- Download
- Official download
Silent install
msiexec /i bellsoft-jdk21.0.12.1+1-windows-amd64.msi /qn /norestart - Download the installer from the direct download link.
- Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
- Change to the folder with the installer, for example
cd C:\Temp. - Run the command above. Adjust the file name if you downloaded a different version.
Or install with winget
winget install --id BellSoft.LibericaJDK.21 --exact --silent --scope machine --accept-package-agreements --accept-source-agreements Silent uninstall
msiexec /x {A2FEC1BC-F985-420F-9D69-C30D199B63FC} /qn /norestart winget uninstall --id BellSoft.LibericaJDK.21 --exact --silent --accept-source-agreements Run the command from an elevated Command Prompt.
About the Windows Installer (MSI, built with WiX) installer
An MSI built with the WiX Toolset. It is installed with msiexec and accepts the standard MSI switches.
| Switch | What it does |
|---|---|
/qn | No user interface. |
/norestart | Never restart, even if the installation needs it. |
/l*v "C:\Temp\install.log" | Verbose log file. |
Deploy Liberica JDK 21 with Microsoft Intune
Package the installer as a Win32 app (.intunewin) and use these settings:
| Install command | msiexec /i bellsoft-jdk21.0.12.1+1-windows-amd64.msi /qn /norestart |
|---|---|
| Uninstall command | msiexec /x {A2FEC1BC-F985-420F-9D69-C30D199B63FC} /qn /norestart |
| Install behavior | System |
| Detection rule | MSI product code {A2FEC1BC-F985-420F-9D69-C30D199B63FC} |