msiexec /i <package>.msi ADDLOCAL=FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome INSTALLDIR="c:\Program Files\Temurin\" /quiet
Windows MSI installer packages
Eclipse Temurin Windows installer packages are available as standard .msi files, which can be run with an interactive user interface or run silently from the command line. The installer is designed for use on a per-machine basis, not per-user basis, so you can have only one installation of the MSI on a machine for all users.
Note: Windows installer packages are supported only on Windows x64 systems.
Instructions for running an interactive installation using the Windows MSI installer:
.msifile. Open it to launch the installation program.
Read and accept the license if you are happy with the terms.
On the Custom Setup screen you can choose the features that you want to install and optionally change the default installation directory. By default, Temurin installs to
C:\Program Files\Eclipse Adoptium\<package>with the following features, which you can deselect, if necessary:
Add the installation to the PATH environment variable
.jarfiles with Java applications Additional features can be selected by clicking on the directory tree where you see a check mark (x). These features include:
When you have chosen the features that you want to install, click Next.
Click Install to begin the installation.
When the installation is finished, click Finish to close the program.
A silent installation allows you to install the Windows package with pre-selected features without user interaction, which can be useful for wide scale deployment. Follow these steps:
Choose the features that you want to install, which are shown in the following table:
Core Temurin installation (DEFAULT)
Update the PATH environment variable (DEFAULT)
Associate .jar files with Java applications (DEFAULT)
Update the JAVA_HOME environment variable
Updates registry keys HKLM
FeatureOracleJavaSoftcan be used to prevent Oracle Java launching from
PATHwhen Temurin is uninstalled. Reinstall Oracle Java if you need to restore the Oracle registry keys.
Optional parameters can be used that group some of the features together:
Run the command on the target workstation. The following example silently installs Temurin, updates the PATH, associates .jar files with Java applications and defines JAVA_HOME:
Note: You must use
The following example silently installs all the features for
msiexec /i <package>.msi INSTALLLEVEL=1 /quiet
If you want to launch an interactive installation in another language you can use the Windows installer
TRANSFORMSoption to set your language choice. For example, to set the UI language to German, use code
1031, which must be preceded by a
msiexec /i <package>.msi INSTALLLEVEL=1 TRANSFORMS=:1031
For a list of supported codes, see the Language list.
Reinstalling or upgrading
To reinstall Temurin in silent mode with default features, run the following command:
msiexec /i <package>.msi REINSTALL=ALL /quiet
If you want to upgrade Temurin in silent mode, run the following command:
msiexec /i <package>.msi REINSTALL=ALL REINSTALLMODE=amus /quiet
REINSTALLMODE options: (from
a: Force all files to be installed regardless of checksum or version
m: Rewrite all required registry entries from the Registry Table that go to the
o: Reinstall if the file is missing or is an older version
u: Rewrite all required registry entries from the Registry Table that go to the
s: Reinstall all shortcuts and re-cache all icons overwriting any existing shortcuts or icons
REINSTALL=ALL automatically sets
.msi files works only for the first 3 digits of the build
number due to an
Upgrading 220.127.116.11 to 18.104.22.168 works.
Upgrading 22.214.171.124 to 126.96.36.199 does not work. Uninstall the previous .msi and install the new one.
Upgrading 188.8.131.52 to 184.108.40.206 works.
Upgrading 220.127.116.11 to 18.104.22.168 does not work. Temurin does not provide upgrades for major versions. Either keep both installations or uninstall the older one.
All Adoptium docs are open source. See something that's wrong or unclear?
Edit this page