The Java Runtime Environment, or JRE, is a software layer that runs on top of a computer’s operating system software and provides the class libraries and other resources that a specific Java program needs to run. The Java Development Kit, or JDK, is a set of tools for developing Java applications. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Java 8 Update 311 from the command line using both EXE & MSI installers.
How to Install Java 8 Update 311 Silently
Java SE Runtime Environment 8 Update 311 (32-bit) Silent Install (EXE)
- Navigate to: https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
- Under Java SE Runtime Environment 8u311, select the Windows x86 Offline link
- Sign in to your Oracle account (Create an account if you don’t have one)
- Accept the Oracle Technology Network License Agreement for Oracle Java SE
- Download the jre-8u311-windows-i586.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
jre-8u311-windows-i586.exe /s
- Press Enter
After a few moments you will find Java entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Java 8 Update 311 (32-bit) |
Vendor: | Oracle Corporation |
Version: | 8.0.3110.11 |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch (Option 1) | jre-8u311-windows-i586.exe /s |
Silent Install Switch (Option 2) | jre-8u311-windows-i586.exe INSTALL_SILENT=1 |
Silent Install Switch (Option 3) | jre-8u311-windows-i586.exe INSTALL_SILENT=Enable |
Silent Uninstall Switch: | MsiExec.exe /x {26A24AE4-039D-4CA4-87B4-2F32180311F0} /qn |
Repair Command: | MsiExec.exe /fa {26A24AE4-039D-4CA4-87B4-2F32180311F0} /qn |
Download Link: | https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html |
PowerShell Script: | https://silentinstallhq.com/java-8-runtime-environment-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-java-8-runtime-environment-powershell/ |
Java SE Runtime Environment 8 Update 311 (64-bit) Silent Install (EXE)
- Navigate to: https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
- Under Java SE Runtime Environment 8u311, select the Windows x64 EXE link
- Sign in to your Oracle account (Create an account if you don’t have one)
- Accept the Oracle Technology Network License Agreement for Oracle Java SE
- Download the jre-8u311-windows-x64.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
jre-8u311-windows-x64.exe /s
- Press Enter
After a few moments you will find Java entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Java 8 Update 311 (64-bit) |
Vendor: | Oracle Corporation |
Version: | 8.0.3110.11 |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch (Option 1) | jre-8u311-windows-x64.exe /s |
Silent Install Switch (Option 2) | jre-8u311-windows-x64.exe INSTALL_SILENT=1 |
Silent Install Switch (Option 3) | jre-8u311-windows-x64.exe INSTALL_SILENT=Enable |
Silent Uninstall Switch: | MsiExec.exe /x {26A24AE4-039D-4CA4-87B4-2F64180311F0} /qn |
Repair Command: | MsiExec.exe /fa {26A24AE4-039D-4CA4-87B4-2F64180311F0} /qn |
Download Link: | https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html |
PowerShell Script: | https://silentinstallhq.com/java-8-runtime-environment-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-java-8-runtime-environment-powershell/ |
Java SE Development Kit 8 Update 311 (32-bit) Silent Install (EXE)
- Navigate to: https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
- Under Java SE Development Kit 8u311, select the Windows x86 link
- Sign in to your Oracle account (Create an account if you don’t have one)
- Accept the Oracle Technology Network License Agreement for Oracle Java SE
- Download the jdk-8u311-windows-i586.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
jdk-8u311-windows-i586.exe /s
- Press Enter
After a few moments you will find Java entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Java JDK 8 Update 311 (32-bit) |
Vendor: | Oracle Corporation |
Version: | 8.0.3110.11 |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch (Option 1) | jdk-8u311-windows-i586.exe /s |
Silent Install Switch (Option 2) | jdk-8u311-windows-i586.exe INSTALL_SILENT=1 |
Silent Install Switch (Option 3) | jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable |
Silent Uninstall Switch: | MsiExec.exe /x {32A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Repair Command: | MsiExec.exe /fa {32A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Download Link: | https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html |
PowerShell Script: | https://silentinstallhq.com/java-8-development-kit-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-java-8-development-kit-powershell/ |
Java SE Development Kit 8 Update 311 (64-bit) Silent Install (EXE)
- Navigate to: https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
- Under Java SE Development Kit 8u311, select the Windows x64 link
- Sign in to your Oracle account (Create an account if you don’t have one)
- Accept the Oracle Technology Network License Agreement for Oracle Java SE
- Download the jdk-8u311-windows-x64.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
jdk-8u311-windows-x64.exe /s
- Press Enter
After a few moments you will find Java entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Java JDK 8 Update 311 (64-bit) |
Vendor: | Oracle Corporation |
Version: | 8.0.3110.11 |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch (Option 1) | jdk-8u311-windows-x64.exe /s |
Silent Install Switch (Option 2) | jdk-8u311-windows-x64.exe INSTALL_SILENT=1 |
Silent Install Switch (Option 3) | jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable |
Silent Uninstall Switch: | MsiExec.exe /x {64A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Repair Command: | MsiExec.exe /fa {64A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Download Link: | https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html |
PowerShell Script: | https://silentinstallhq.com/java-8-development-kit-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-java-8-development-kit-powershell/ |
Java SE Runtime Environment 8 Update 311 (32-bit) Silent Install (MSI)
- Navigate to: https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
- Under Java SE Runtime Environment 8u311, select the Windows x86 Offline link
- Sign in to your Oracle account (Create an account if you don’t have one)
- Accept the Oracle Technology Network License Agreement for Oracle Java SE
- Download the EXE to a folder created at (C:\Downloads)
- Manually launch the jre-8u311-windows-i586.exe
- Once you see the Java Setup – Welcome window, Navigate to C:\Users\%username%\AppData\LocalLow\Oracle\Java\jre1.8.0_311
- Copy the jre1.8.0_311.msi to C:\Downloads
- Cancel & Close the “Java Setup – Welcome” window
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
MsiExec.exe /i jre1.8.0_311.msi /qn
- Press Enter
After a few moments you will find Java entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Java 8 Update 311 (32-bit) |
Vendor: | Oracle Corporation |
Version: | 8.0.3110.11 |
Architecture: | x86 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i jre1.8.0_311.msi /qn |
Silent Uninstall Switch: |
|
Repair Command: | MsiExec.exe /fa |
Download Link: | https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html |
PowerShell Script: | https://silentinstallhq.com/java-8-runtime-environment-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-java-8-runtime-environment-powershell/ |
Java SE Runtime Environment 8 Update 311 (64-bit) Silent Install (MSI)
- Navigate to: https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
- Under Java SE Runtime Environment 8u311, select the Windows x64 EXE link
- Sign in to your Oracle account (Create an account if you don’t have one)
- Accept the Oracle Technology Network License Agreement for Oracle Java SE
- Download the EXE to a folder created at (C:\Downloads)
- Manually launch the jre-8u311-windows-x64.exe
- Once you see the Java Setup – Welcome window, Navigate to C:\Users\%username%\AppData\LocalLow\Oracle\Java\jre1.8.0_311_x64
- Copy the jre1.8.0_31164.msi to C:\Downloads
- Cancel & Close the “Java Setup – Welcome” window
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
MsiExec.exe /i jre1.8.0_31164.msi /qn
- Press Enter
After a few moments you will find Java entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Java 8 Update 311 (64-bit) |
Vendor: | Oracle Corporation |
Version: | 8.0.3110.11 |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i jre1.8.0_31164.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x {26A24AE4-039D-4CA4-87B4-2F64180311F0} /qn |
Repair Command: | MsiExec.exe /fa {26A24AE4-039D-4CA4-87B4-2F64180311F0} /qn |
Download Link: | https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html |
PowerShell Script: | https://silentinstallhq.com/java-8-runtime-environment-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-java-8-runtime-environment-powershell/ |
Java SE Development Kit 8 Update 311 (32-bit) Silent Install (MSI)
- Navigate to: https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
- Under Java SE Development Kit 8u311, select the Windows x86 link
- Sign in to your Oracle account (Create an account if you don’t have one)
- Accept the Oracle Technology Network License Agreement for Oracle Java SE
- Download the EXE to a folder created at (C:\Downloads)
- Manually launch the jdk-8u311-windows-i586.exe
- On the Java SE Development Kit 8 – Setup window, Click Next
- Once you see the Java SE Development Kit 8 Update 311 – Custom Setup window, Navigate to C:\Users\%username%\AppData\LocalLow\Oracle\Java\
- Copy the jdk1.8.0_311 folder to C:\Downloads
- Cancel & Close the “Java SE Development Kit 8 Update 311 – Custom Setup” window
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads\jdk1.8.0_311 folder
- Enter the following command:
MsiExec.exe /i jdk1.8.0_311.msi /qn
- Press Enter
After a few moments you will find Java entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Java JDK 8 Update 311 (32-bit) |
Vendor: | Oracle Corporation |
Version: | 8.0.3110.11 |
Architecture: | x86 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i jdk1.8.0_311.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x {32A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Repair Command: | MsiExec.exe /fa {32A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Download Link: | https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html |
PowerShell Script: | https://silentinstallhq.com/java-8-development-kit-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-java-8-development-kit-powershell/ |
Java SE Development Kit 8 Update 311 (64-bit) Silent Install (MSI)
- Navigate to: https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
- Under Java SE Development Kit 8u311, select the Windows x64 link
- Sign in to your Oracle account (Create an account if you don’t have one)
- Accept the Oracle Technology Network License Agreement for Oracle Java SE
- Download the EXE to a folder created at (C:\Downloads)
- Manually launch the jdk-8u311-windows-x64.exe
- On the Java SE Development Kit 8 – Setup window, Click Next
- Once you see the Java SE Development Kit 8 Update 311 (64-bit) – Custom Setup window, Navigate to C:\Users\%username%\AppData\LocalLow\Oracle\Java\
- Copy the jdk1.8.0_311_x64 folder to C:\Downloads
- Cancel & Close the “Java SE Development Kit 8 Update 311 (64-bit) – Custom Setup” window
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads\jdk1.8.0_311_x64 folder
- Enter the following command:
MsiExec.exe /i jdk1.8.0_31164.msi /qn
- Press Enter
After a few moments you will find Java entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Java JDK 8 Update 311 (64-bit) |
Vendor: | Oracle Corporation |
Version: | 8.0.3110.11 |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i jdk1.8.0_31164.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x {64A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Repair Command: | MsiExec.exe /fa {64A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Download Link: | https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html |
PowerShell Script: | https://silentinstallhq.com/java-8-development-kit-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-java-8-development-kit-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 Java installers offer 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.
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Logging
jre-8u311-windows-i586.exe /s /L C:\Windows\Temp\jre-8u311x86.log | Option 1 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 /L C:\Windows\Temp\jre-8u311x86.log | Option 2 |
Java JRE 8 Update 311 (32-bit) Silent Install (MSI) with Logging
MsiExec.exe /i jre1.8.0_311.msi /qn /L*v "%WINDIR%\Temp\jre-8u311x86.log" |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Logging
jre-8u311-windows-x64.exe /s /L C:\Windows\Temp\jre-8u311x64.log | Option 1 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 /L C:\Windows\Temp\jre-8u311x64.log | Option 2 |
Java JRE 8 Update 311 (64-bit) Silent Install (MSI) with Logging
MsiExec.exe /i jre1.8.0_31164.msi /qn /L*v "%WINDIR%\Temp\jre-8u311x64.log" |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with Logging
jdk-8u311-windows-i586.exe /s /L C:\Windows\Temp\jdk-8u311x86.log | Option 1 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 /L C:\Windows\Temp\jdk-8u311x86.log | Option 2 |
Java JDK 8 Update 311 (32-bit) Silent Install (MSI) with Logging
MsiExec.exe /i jdk1.8.0_311.msi /qn /L*v "%WINDIR%\Temp\jdk-8u311x86.log" |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with Logging
jdk-8u311-windows-x64.exe /s /L C:\Windows\Temp\jdk-8u311x64.log | Option 1 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 /L C:\Windows\Temp\jdk-8u311x64.log | Option 2 |
Java JDK 8 Update 311 (64-bit) Silent Install (MSI) with Logging
MsiExec.exe /i jdk1.8.0_31164.msi /qn /L*v "%WINDIR%\Temp\jdk-8u311x64.log" |
Disable the Auto Update Feature
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Auto Update Disabled
jre-8u311-windows-i586.exe /s AUTO_UPDATE=0 | Option 1 |
jre-8u311-windows-i586.exe /s AUTO_UPDATE=Disable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 AUTO_UPDATE=0 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable AUTO_UPDATE=Disable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Auto Update Disabled
jre-8u311-windows-x64.exe /s AUTO_UPDATE=0 | Option 1 |
jre-8u311-windows-x64.exe /s AUTO_UPDATE=Disable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 AUTO_UPDATE=0 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable AUTO_UPDATE=Disable | Option 4 |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with Auto Update Disabled
jdk-8u311-windows-i586.exe /s AUTO_UPDATE=0 | Option 1 |
jdk-8u311-windows-i586.exe /s AUTO_UPDATE=Disable | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 AUTO_UPDATE=0 | Option 3 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable AUTO_UPDATE=Disable | Option 4 |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with Auto Update Disabled
jdk-8u311-windows-x64.exe /s AUTO_UPDATE=0 | Option 1 |
jdk-8u311-windows-x64.exe /s AUTO_UPDATE=Disable | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 AUTO_UPDATE=0 | Option 3 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable AUTO_UPDATE=Disable | Option 4 |
Suppress End User License Agreement (EULA)
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with EULA Suppressed
jre-8u311-windows-i586.exe /s EULA=0 | Option 1 |
jre-8u311-windows-i586.exe /s EULA=Disable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 EULA=0 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable EULA=Disable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with EULA Suppressed
jre-8u311-windows-x64.exe /s EULA=0 | Option 1 |
jre-8u311-windows-x64.exe /s EULA=Disable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 EULA=0 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable EULA=Disable | Option 4 |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with EULA Suppressed
jdk-8u311-windows-i586.exe /s EULA=0 | Option 1 |
jdk-8u311-windows-i586.exe /s EULA=Disable | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 EULA=0 | Option 3 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable EULA=Disable | Option 4 |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with EULA Suppressed
jdk-8u311-windows-x64.exe /s EULA=0 | Option 1 |
jdk-8u311-windows-x64.exe /s EULA=Disable | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 EULA=0 | Option 3 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable EULA=Disable | Option 4 |
Change Default Installation Directory (First Time Installs Only)
You can change the default installation directory by using the following command line parameters. In this example, I’m installing Java to “C:\Java”
Java JRE 8 Update 311 32-bit (EXE)
jre-8u311-windows-i586.exe /s INSTALLDIR=C:\Java | Option 1 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 INSTALLDIR=C:\Java | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable INSTALLDIR=C:\Java | Option 3 |
Java JRE 8 Update 311 64-bit (EXE)
jre-8u311-windows-x64.exe /s INSTALLDIR=C:\Java | Option 1 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 INSTALLDIR=C:\Java | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable INSTALLDIR=C:\Java | Option 3 |
Java JDK 8 Update 311 32-bit (EXE)
jdk-8u311-windows-i586.exe /s INSTALLDIR=C:\Java | Option 1 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 INSTALLDIR=C:\Java | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable INSTALLDIR=C:\Java | Option 3 |
Java JDK 8 Update 311 64-bit (EXE)
jdk-8u311-windows-x64.exe /s INSTALLDIR=C:\Java | Option 1 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 INSTALLDIR=C:\Java | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable INSTALLDIR=C:\Java | Option 3 |
Exclude Java Start Menu Items
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Start Menu Items Excluded
jre-8u311-windows-i586.exe /s NOSTARTMENU=1 | Option 1 |
jre-8u311-windows-i586.exe /s NOSTARTMENU=Enable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 NOSTARTMENU=1 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable NOSTARTMENU=Enable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Start Menu Items Excluded
jre-8u311-windows-x64.exe /s NOSTARTMENU=1 | Option 1 |
jre-8u311-windows-x64.exe /s NOSTARTMENU=Enable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 NOSTARTMENU=1 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable NOSTARTMENU=Enable | Option 4 |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with Start Menu Items Excluded
jdk-8u311-windows-i586.exe /s NOSTARTMENU=1 | Option 1 |
jdk-8u311-windows-i586.exe /s NOSTARTMENU=Enable | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 NOSTARTMENU=1 | Option 3 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable NOSTARTMENU=Enable | Option 4 |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with Start Menu Items Excluded
jdk-8u311-windows-x64.exe /s NOSTARTMENU=1 | Option 1 |
jdk-8u311-windows-x64.exe /s NOSTARTMENU=Enable | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 NOSTARTMENU=1 | Option 3 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable NOSTARTMENU=Enable | Option 4 |
Suppress Java Reboot
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with No Reboot
jre-8u311-windows-i586.exe /s REBOOT=0 | Option 1 |
jre-8u311-windows-i586.exe /s REBOOT=Disable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 REBOOT=0 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable REBOOT=Disable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with No Reboot
jre-8u311-windows-x64.exe /s REBOOT=0 | Option 1 |
jre-8u311-windows-x64.exe /s REBOOT=Disable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 REBOOT=0 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable REBOOT=Disable | Option 4 |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with No Reboot
jdk-8u311-windows-i586.exe /s REBOOT=0 | Option 1 |
jdk-8u311-windows-i586.exe /s REBOOT=Disable | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 REBOOT=0 | Option 3 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable REBOOT=Disable | Option 4 |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with No Reboot
jdk-8u311-windows-x64.exe /s REBOOT=0 | Option 1 |
jdk-8u311-windows-x64.exe /s REBOOT=Disable | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 REBOOT=0 | Option 3 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable REBOOT=Disable | Option 4 |
Remove All Out-Of-Date Java JRE Versions
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Old JRE Versions Removed
jre-8u311-windows-i586.exe /s REMOVEOUTOFDATEJRES=1 | Option 1 |
jre-8u311-windows-i586.exe /s REMOVEOUTOFDATEJRES=Enable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 REMOVEOUTOFDATEJRES=1 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable REMOVEOUTOFDATEJRES=Enable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Old JRE Versions Removed
jre-8u311-windows-x64.exe /s REMOVEOUTOFDATEJRES=1 | Option 1 |
jre-8u311-windows-x64.exe /s REMOVEOUTOFDATEJRES=Enable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 REMOVEOUTOFDATEJRES=1 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable REMOVEOUTOFDATEJRES=Enable | Option 4 |
Java JRE Static Installation
If you perform a static installation of the JRE (by specifying the command-line or configuration file option STATIC=1), then the Java Auto Update feature will leave that JRE installed during a Java update. A later version of the same JRE family will be installed in a separate directory. This mode ensures that vendors, who require a specific version of the JRE for their product, can be certain that the JRE will not be overwritten by a newer version.
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Static Configuration
jre-8u311-windows-i586.exe /s STATIC=1 | Option 1 |
jre-8u311-windows-i586.exe /s STATIC=Enable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 STATIC=1 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable STATIC=Enable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Static Configuration
jre-8u311-windows-x64.exe /s STATIC=1 | Option 1 |
jre-8u311-windows-x64.exe /s STATIC=Enable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 STATIC=1 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable STATIC=Enable | Option 4 |
Disable Java Web Analytics
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Web Analytics Disabled
jre-8u311-windows-i586.exe /s WEB_ANALYTICS=0 | Option 1 |
jre-8u311-windows-i586.exe /s WEB_ANALYTICS=Disable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 WEB_ANALYTICS=0 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable WEB_ANALYTICS=Disable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Web Analytics Disabled
jre-8u311-windows-x64.exe /s WEB_ANALYTICS=0 | Option 1 |
jre-8u311-windows-x64.exe /s WEB_ANALYTICS=Disable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 WEB_ANALYTICS=0 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable WEB_ANALYTICS=Disable | Option 4 |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with Web Analytics Disabled
jdk-8u311-windows-i586.exe /s WEB_ANALYTICS=0 | Option 1 |
jdk-8u311-windows-i586.exe /s WEB_ANALYTICS=Disable | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 WEB_ANALYTICS=0 | Option 3 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable WEB_ANALYTICS=Disable | Option 4 |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with Web Analytics Disabled
jdk-8u311-windows-x64.exe /s WEB_ANALYTICS=0 | Option 1 |
jdk-8u311-windows-x64.exe /s WEB_ANALYTICS=Disable | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 WEB_ANALYTICS=0 | Option 3 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable WEB_ANALYTICS=Disable | Option 4 |
Set Java Web Security Level to Very High
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Security Level Set to Very High
jre-8u311-windows-i586.exe /s WEB_JAVA_SECURITY_LEVEL=VH | Option 1 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 WEB_JAVA_SECURITY_LEVEL=VH | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable WEB_JAVA_SECURITY_LEVEL=VH | Option 3 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Security Level Set to Very High
jre-8u311-windows-x64.exe /s WEB_JAVA_SECURITY_LEVEL=VH | Option 1 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 WEB_JAVA_SECURITY_LEVEL=VH | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable WEB_JAVA_SECURITY_LEVEL=VH | Option 3 |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with Security Level Set to Very High
jdk-8u311-windows-i586.exe /s WEB_JAVA_SECURITY_LEVEL=VH | Option 1 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 WEB_JAVA_SECURITY_LEVEL=VH | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable WEB_JAVA_SECURITY_LEVEL=VH | Option 3 |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with Security Level Set to Very High
jdk-8u311-windows-x64.exe /s WEB_JAVA_SECURITY_LEVEL=VH | Option 1 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 WEB_JAVA_SECURITY_LEVEL=VH | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable WEB_JAVA_SECURITY_LEVEL=VH | Option 3 |
Don’t Allow Java Applications to Run in Web Browser
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Java Web Disabled
jre-8u311-windows-i586.exe /s WEB_JAVA=0 | Option 1 |
jre-8u311-windows-i586.exe /s WEB_JAVA=Disable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 WEB_JAVA=0 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable WEB_JAVA=Disable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Java Web Disabled
jre-8u311-windows-x64.exe /s WEB_JAVA=0 | Option 1 |
jre-8u311-windows-x64.exe /s WEB_JAVA=Disable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 WEB_JAVA=0 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable WEB_JAVA=Disable | Option 4 |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with Java Web Disabled
jdk-8u311-windows-i586.exe /s WEB_JAVA=0 | Option 1 |
jdk-8u311-windows-i586.exe /s WEB_JAVA=Disable | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 WEB_JAVA=0 | Option 3 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable WEB_JAVA=Disable | Option 4 |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with Java Web Disabled
jdk-8u311-windows-x64.exe /s WEB_JAVA=0 | Option 1 |
jdk-8u311-windows-x64.exe /s WEB_JAVA=Disable | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 WEB_JAVA=0 | Option 3 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable WEB_JAVA=Disable | Option 4 |
Disable 3rd Party Sponsor Offers
Java JRE 8 Update 311 (32-bit) Silent Install (EXE) with Sponsors Disabled
jre-8u311-windows-i586.exe /s SPONSORS=0 | Option 1 |
jre-8u311-windows-i586.exe /s SPONSORS=Disable | Option 2 |
jre-8u311-windows-i586.exe INSTALL_SILENT=1 SPONSORS=0 | Option 3 |
jre-8u311-windows-i586.exe INSTALL_SILENT=Enable SPONSORS=Disable | Option 4 |
Java JRE 8 Update 311 (64-bit) Silent Install (EXE) with Sponsors Disabled
jre-8u311-windows-x64.exe /s SPONSORS=0 | Option 1 |
jre-8u311-windows-x64.exe /s SPONSORS=Disable | Option 2 |
jre-8u311-windows-x64.exe INSTALL_SILENT=1 SPONSORS=0 | Option 3 |
jre-8u311-windows-x64.exe INSTALL_SILENT=Enable SPONSORS=Disable | Option 4 |
Java JDK 8 Update 311 (32-bit) Silent Install (EXE) with Sponsors Disabled
jdk-8u311-windows-i586.exe /s SPONSORS=0 | Option 1 |
jdk-8u311-windows-i586.exe /s SPONSORS=Disable | Option 2 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=1 SPONSORS=0 | Option 3 |
jdk-8u311-windows-i586.exe INSTALL_SILENT=Enable SPONSORS=Disable | Option 4 |
Java JDK 8 Update 311 (64-bit) Silent Install (EXE) with Sponsors Disabled
jdk-8u311-windows-x64.exe /s SPONSORS=0 | Option 1 |
jdk-8u311-windows-x64.exe /s SPONSORS=Disable | Option 2 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=1 SPONSORS=0 | Option 3 |
jdk-8u311-windows-x64.exe INSTALL_SILENT=Enable SPONSORS=Disable | Option 4 |
Deploy Java Using Configuration Files
You can standardize your Java deployments and enforce settings at the system level by utilizing the following method.
- Open Notepad or your favorite text editor
- Add the following lines:
deployment.system.config=file:///C:/Windows/Sun/Java/Deployment/deployment.properties
deployment.system.config.mandatory=true
Save the file and name it: deployment.config
- Open Notepad again
- Add the following lines:
deployment.javaws.autodownload=NEVER
deployment.javaws.autodownload.locked
deployment.expiration.check.enabled=FALSE
deployment.expiration.decision=NEVER
deployment.expiration.decision.11.101.2=later
deployment.expiration.decision.suppression.11.101.2=true
deployment.user.security.exception.sites=C\:/Windows/Sun/Java/Deployment/exception.sites
Save the file and name it: deployment.properties
- Open Notepad again
- Add the following lines:
INSTALL_SILENT=Enable
AUTO_UPDATE=Disable
WEB_ANALYTICS=Disable
EULA=Disable
REBOOT=Disable
SPONSORS=Disable
Save the file and name it: java.settings.cfg
If you need to allow access to specific Java enabled sites that would normally be blocked by security checks, then you should create a fourth configuration file as referenced below.
- Open Notepad or your favorite text editor
- Add the following lines using your specific site names and port numbers:
https://SERVER01.YOURDOMAIN.COM:8888
http://SERVER02.YOURDOMAIN.COM:8888
Save the file and name it: exception.sites
- Create a C:\ProgramData\Oracle\Java directory (if not present)
- Copy the java.settings.cfg to C:\ProgramData\Oracle\Java\
- Follow the “How to Install Java 8 Update 311 Silently” steps mentioned earlier in the article
- Create a C:\Windows\Sun\Java\Deployment directory (if not present)
- Copy the deployment.config, deployment.properties, and exception.sites (if required) to C:\Windows\Sun\Java\Deployment\
Reference for deployment.properties file
https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/properties.html
Reference for Java configuration file
https://docs.oracle.com/javase/8/docs/technotes/guides/install/config.html
How to Uninstall Java 8 Update 311 Silently
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Java JRE 8 Update 311 (32-bit) Silent Uninstall
|
Java JRE 8 Update 311 (64-bit) Silent Uninstall
MsiExec.exe /x {26A24AE4-039D-4CA4-87B4-2F64180311F0} /qn |
Java JDK 8 Update 311 (32-bit) Silent Uninstall
MsiExec.exe /x {32A3A4F4-B792-11D6-A78A-00B0D0180311} /qn |
Java JDK 8 Update 311 (64-bit) Silent Uninstall
MsiExec.exe /x {64A3A4F4-B792-11D6-A78A-00B0D0180311} /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.