Java 8 silent install and uninstall

Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few.

EXE x86x64 Updated 19 Oct 2026
Vendor
Oracle Corporation
Category
Runtimes
Installer
Custom EXE installer
Architecture
x86, x64
Checked version
8.0.5030.1
winget ID
Oracle.JavaRuntimeEnvironment
License
Proprietary
Download
Official download

Silent install

JavaRuntimeEnvironment-setup.exe /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0
  1. Download the installer from the direct download link.
  2. Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
  3. Change to the folder with the installer, for example cd C:\Temp.
  4. Run the command above. Adjust the file name if you downloaded a different version.

Or install with winget

winget install --id Oracle.JavaRuntimeEnvironment --exact --silent --scope machine --accept-package-agreements --accept-source-agreements

Silent uninstall

winget
winget uninstall --id Oracle.JavaRuntimeEnvironment --exact --silent --accept-source-agreements

Run the command from an elevated Command Prompt.

About the Custom EXE installer installer

The vendor uses its own installer, so only the switches listed above are documented. Test them before mass deployment.

Deploy Java 8 with Microsoft Intune

Package the installer as a Win32 app (.intunewin) and use these settings:

Install commandJavaRuntimeEnvironment-setup.exe /s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0
Uninstall command Use the uninstaller from the install folder; winget is not available to the SYSTEM account by default.
Install behaviorSystem

More runtimes apps