Amazon Corretto Silent Install (How-To Guide)


Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Amazon Corretto from the command line using the MSI installer.

How to Install Amazon Corretto Silently

Amazon Corretto 15 (64-bit) Silent Install (MSI)

  1. Download the Amazon Corretto 15 (64-bit) Installer
  2. Download the MSI to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: MsiExec.exe /i amazon-corretto-15.x.y.z-windows-x64.msi /qn
  6. Press Enter

After a few moments you should see the Amazon Corretto entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Amazon Corretto 15 (x64)
Vendor:Amazon
Version:15.x
Architecture:64-bit
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i amazon-corretto-15.x.y.z-windows-x64.msi /qn
Silent Uninstall Switch:MsiExec.exe /x amazon-corretto-15.x.y.z-windows-x64.msi /qn
Repair Command:MsiExec.exe /fa amazon-corretto-15.x.y.z-windows-x64.msi /qn
Download Link:https://corretto.aws/downloads/latest/amazon-corretto-15-x64-windows-jdk.msi
PowerShell Script:https://silentinstallhq.com/amazon-corretto-15-install-and-uninstall-powershell/

Amazon Corretto 11 (32-bit) Silent Install (MSI)

  1. Download the Amazon Corretto 11 (32-bit) Installer
  2. Download the MSI to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: MsiExec.exe /i amazon-corretto-11.x.y.z-windows-x86.msi /qn
  6. Press Enter

After a few moments you should see the Amazon Corretto entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Amazon Corretto 11 (x86)
Vendor:Amazon
Version:11.x
Architecture:32-bit
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i amazon-corretto-11.x.y.z-windows-x86.msi /qn
Silent Uninstall Switch:MsiExec.exe /x amazon-corretto-11.x.y.z-windows-x86.msi /qn
Repair Command:MsiExec.exe /fa amazon-corretto-11.x.y.z-windows-x86.msi /qn
Download Link:https://corretto.aws/downloads/latest/amazon-corretto-11-x86-windows-jdk.msi
PowerShell Script:https://silentinstallhq.com/amazon-corretto-11-install-and-uninstall-powershell/

Amazon Corretto 11 (64-bit) Silent Install (MSI)

  1. Download the Amazon Corretto 11 (64-bit) Installer
  2. Download the MSI to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: MsiExec.exe /i amazon-corretto-11.x.y.z-windows-x64.msi /qn
  6. Press Enter

After a few moments you should see the Amazon Corretto entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Amazon Corretto 11 (x64)
Vendor:Amazon
Version:11.x
Architecture:64-bit
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i amazon-corretto-11.x.y.z-windows-x64.msi /qn
Silent Uninstall Switch:MsiExec.exe /x amazon-corretto-11.x.y.z-windows-x64.msi /qn
Repair Command:MsiExec.exe /fa amazon-corretto-11.x.y.z-windows-x64.msi /qn
Download Link:https://corretto.aws/downloads/latest/amazon-corretto-11-x64-windows-jdk.msi
PowerShell Script:https://silentinstallhq.com/amazon-corretto-11-install-and-uninstall-powershell/

Amazon Corretto 8 (32-bit) Silent Install (MSI)

  1. Download the Amazon Corretto 8 (32-bit) Installer
  2. Download the MSI to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: MsiExec.exe /i amazon-corretto-8.x.y.z-windows-x86.msi /qn
  6. Press Enter

After a few moments you should see the Amazon Corretto entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Amazon Corretto 8 (x86)
Vendor:Amazon
Version:1.8.x
Architecture:32-bit
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i amazon-corretto-8.x.y.z-windows-x86.msi /qn
Silent Uninstall Switch:MsiExec.exe /x amazon-corretto-8.x.y.z-windows-x86.msi /qn
Repair Command:MsiExec.exe /fa amazon-corretto-8.x.y.z-windows-x86.msi /qn
Download Link:https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jdk.msi
PowerShell Script:https://silentinstallhq.com/amazon-corretto-8-install-and-uninstall-powershell/

Amazon Corretto 8 (64-bit) Silent Install (MSI)

  1. Download the Amazon Corretto 8 (64-bit) Installer
  2. Download the MSI to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: MsiExec.exe /i amazon-corretto-8.x.y.z-windows-x64.msi /qn
  6. Press Enter

After a few moments you should see the Amazon Corretto entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Amazon Corretto 8 (x64)
Vendor:Amazon
Version:1.8.x
Architecture:64-bit
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i amazon-corretto-8.x.y.z-windows-x64.msi /qn
Silent Uninstall Switch:MsiExec.exe /x amazon-corretto-8.x.y.z-windows-x64.msi /qn
Repair Command:MsiExec.exe /fa amazon-corretto-8.x.y.z-windows-x64.msi /qn
Download Link:https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jdk.msi
PowerShell Script:https://silentinstallhq.com/amazon-corretto-8-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create an Installation Log File

The Amazon Corretto installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

Amazon Corretto 15 (64-bit) Silent Install with Logging

MsiExec.exe /i amazon-corretto-15.x.y.z-windows-x64.msi /qn /L*v "%WINDIR%\Temp\AmazonCorretto15-Install.log"

Amazon Corretto 11 (32-bit) Silent Install with Logging

MsiExec.exe /i amazon-corretto-11.x.y.z-windows-x86.msi /qn /L*v "%WINDIR%\Temp\AmazonCorretto11x86-Install.log"

Amazon Corretto 11 (64-bit) Silent Install with Logging

MsiExec.exe /i amazon-corretto-11.x.y.z-windows-x64.msi /qn /L*v "%WINDIR%\Temp\AmazonCorretto11x64-Install.log"

Amazon Corretto 8 (32-bit) Silent Install with Logging

MsiExec.exe /i amazon-corretto-8.x.y.z-windows-x86.msi /qn /L*v "%WINDIR%\Temp\AmazonCorretto8x86-Install.log"

Amazon Corretto 8 (64-bit) Silent Install with Logging

MsiExec.exe /i amazon-corretto-8.x.y.z-windows-x64.msi /qn /L*v "%WINDIR%\Temp\AmazonCorretto8x64-Install.log"

How to Uninstall Amazon Corretto Silently

Check out the Amazon Corretto Uninstall (All Versions) | PowerShell post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:
VersionAmazon Corretto 15 Silent Uninstall String
15.0.2.7 (x64)MsiExec.exe /x {B6B474AE-C914-46A8-965A-63FFB13337B9} /qn
15.0.1.9 (x64)MsiExec.exe /x {F74B1857-AD19-493E-9282-C36B1865FF40} /qn
15.0.0.36 (x64)MsiExec.exe /x {EC43986B-57FB-490A-BA19-74542EA4ABFA} /qn
VersionAmazon Corretto 11 Silent Uninstall String
11.0.10.9 (x86)MsiExec.exe /x {7A20E2CA-2E78-46A1-96BC-FAC90C353553} /qn
11.0.10.9 (x64)MsiExec.exe /x {4D099EEF-5AE5-4128-8FAE-B89BB9033BC2} /qn
11.0.9.12 (x64)MsiExec.exe /x {27E9C27B-F770-41C6-A624-64E1768988F7} /qn
11.0.9.11 (x64)MsiExec.exe /x {1FA2AF40-D3D3-442C-8FC9-8536782A3C43} /qn
11.0.8.10 (x64)MsiExec.exe /x {D709E482-E4A3-4DA3-8B07-49279AB2B154} /qn
11.0.7.10 (x64)MsiExec.exe /x {6B99B794-0612-4841-BC11-C09DEB8AA0C6} /qn
11.0.6.10 (x64)MsiExec.exe /x {F8D0022C-B409-42FE-9124-CDE4F2F487E0} /qn
11.0.5.10 (x64)MsiExec.exe /x {EBE962F6-52B3-47F5-AD50-86C578771294} /qn
11.0.4.10 (x64)MsiExec.exe /x {92A28DA8-5130-4692-9C9D-1988B50E2964} /qn
VersionAmazon Corretto 8 Silent Uninstall String
1.8.0.282 (x86)MsiExec.exe /x {5B0B1D92-F6C7-4F62-BD3A-A399CF3BC3B5} /qn
1.8.0.282 (x64)MsiExec.exe /x {86937BD5-637D-498D-865B-24D6200823C4} /qn
1.8.0.275 (x86)MsiExec.exe /x {AE66A3F7-6201-45C1-8513-CEFDB99BAFF6} /qn
1.8.0.275 (x64)MsiExec.exe /x {25CD89D1-1F49-4519-AC2F-A894C1C2C6A6} /qn
1.8.0.272 (x86)MsiExec.exe /x {FE8BA696-E88C-4B5F-A7F7-896C81B8F876} /qn
1.8.0.272 (x86)MsiExec.exe /x {981E3643-4A4F-46C0-ABB8-86B81DB482B4} /qn
1.8.0.272 (x64)MsiExec.exe /x {310A870D-795B-42B8-9678-39052F59C030} /qn
1.8.0.272 (x64)MsiExec.exe /x {8658848B-984C-4D13-8BAB-E5606A53D672} /qn
1.8.0.265 (x86)MsiExec.exe /x {EDEA4178-BF8F-437E-9BFB-FF9E54FFBA65} /qn
1.8.0.265 (x64)MsiExec.exe /x {34BA22C1-B039-4A80-BFDE-EAE73399775A} /qn
1.8.0.262 (x86)MsiExec.exe /x {EA130FC5-A559-453F-ACBD-A63ADB51AF17} /qn
1.8.0.262 (x64)MsiExec.exe /x {034E29DC-D376-44B0-89BC-734C89E7DA65} /qn
1.8.0.252 (x86)MsiExec.exe /x {4518F0D0-CA47-41C6-B27C-60E437CB0AF6} /qn
1.8.0.252 (x64)MsiExec.exe /x {8DDBA78C-88C1-41BC-9D05-EAF8DAAFE489} /qn
1.8.0.242 (x86)MsiExec.exe /x {08D52490-11D5-4AB6-9472-5B17753EBB0C} /qn
1.8.0.242 (x64)MsiExec.exe /x {8BF922E3-0F95-4DAE-9596-ABAB1F1F704A} /qn
1.8.0.232 (x86)MsiExec.exe /x {C35CAD3E-3CAD-4CB7-A0AA-84959ACA8749} /qn
1.8.0.232 (x64)MsiExec.exe /x {7F763C04-3B50-44A0-9F34-C983F1C26664} /qn
1.8.0.222 (x86)MsiExec.exe /x {553E2E86-C534-41E0-AAD2-CA6C2C5FBEAE} /qn
1.8.0.222 (x64)MsiExec.exe /x {8168B8BD-DAA3-4361-A083-A243F063CC08} /qn

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Recent Posts