## Temurin
The Temurin8jre package uses OpenJDK_HotSpot VM from Temurin using the msi file format.
Using a msi file provides a rich source of installation options :
** The following Features must be listed after `/ADDLOCAL=` using a comma after each feature. **
| Feature | Description |
|----|----|
| FeatureMain | Core Temurin installation (DEFAULT) |
| FeatureEnvironment | Update the PATH environment variable (DEFAULT) |
| FeatureJarFileRunWith | Associate .jar files with Java applications (DEFAULT) |
| FeatureJavaHome | Update the JAVA_HOME environment variable |
| FeatureIcedTeaWeb | Install IcedTea-Web |
| FeatureJNLPFileRunWith | Associate .jnlp files with IcedTea-web (Temurin 8 only) |
| FeatureOracleJavaSoft | Updates registry keys HKLM\SOFTWARE\JavaSoft\ (Temurin 8 only) |
** Note: FeatureOracleJavaSoft can be used to prevent Oracle Java launching from PATH when 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:
| Parameter | Features |
|----|----|
| INSTALLLEVEL=1 | FeatureMain,FeatureEnvironment,FeatureJarFileRunWith |
|----|----|
| INSTALLLEVEL=2 | FeatureMain,FeatureEnvironment,FeatureJarFileRunWith, FeatureJavaHome,FeatureIcedTeaWeb |
|----|----|
| INSTALLLEVEL=3 | FeatureMain,FeatureEnvironment,FeatureJarFileRunWith, FeatureJavaHome,FeatureIcedTeaWeb,FeatureJNLPFileRunWith |
The following example silently installs Temurin, updates the PATH, associates .jar files with Java applications and defines JAVA_HOME:
Example: `choco install Temurin8jre --params="/ADDLOCAL=FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome /INSTALLDIR=$env:Programfiles\Eclipse Adoptium\ /quiet"`
** Note: You must use INSTALLDIR with FeatureMain. INSTALLDIR Default is `$env:Programfiles\Eclipse Adoptium` **
This will install both the 32 bit and 64 bit versions of the desired package by using the parameter `/both`
Example: `choco install Temurin8jre --params="/both"`