Version used in this guide: 8.0.3810.9
Highlighted items are subjects to change with new software releases. Please review these items and adjust them according to your environment.
General
Application type
Windows app (Win32)
Package content
- jre-8u381-windows-x64.exe
- Uninstall_Java.ps1 (GitHub)
Software download page
Java Downloads for All Operating Systems
App information
Name
Oracle Java
Description
Oracle Java is a widely used programming language and computing platform. It was developed by Oracle Corporation and provides a secure and robust environment for running applications across various platforms and devices. Java is known for its versatility and ability to run on almost any system. It is used for building desktop, web, mobile, and enterprise applications, as well as embedded systems and IoT devices. With its extensive libraries and tools, Java is a popular choice for developers worldwide.
Publisher
Oracle
App Version
8.0.3810.9
Information URL
Privacy URL
https://www.oracle.com/legal/privacy/
Logo

300px-Java_programming_language_logo.svg.png (300×549) (wikimedia.org)
Program
Install command
jre-8u381-windows-x64.exe INSTALL_SILENT=Enable REMOVEOUTOFDATEJRES=1 EULA=Enable REBOOT=Disable AUTO_UPDATE=Disable
Uninstall command
%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass .\Uninstall_Java.ps1
Installation time required (mins)
15
Allow available uninstall
Yes
Install behavior
System
Device restart behavior
No specific action
Requirements
Operating system architecture
x64
Minimum operating system
1903
Disk space required (MB)
<None>
Minimum number of logical processors required
<None>
Minimum CPU speed required (MHz)
<None>
Additional requirement rules
<None>
Detection rules
Rules format
Use a custom detection script
Detection rules
Script content (UTF-8 encoded):
$JavaReg = (Get-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | Where DisplayName -Like "Java*").DisplayVersion
[System.Version]$JavaReg
[System.Version]$JavaDesired = "8.0.3810.9"
if ($JavaReg -ge $JavaDesired -And $NULL -ne $JavaReg) {
Write-Host "Detected" -ForegroundColor Green
Exit 0
} else {
Write-Host "Not detected" -ForegroundColor Red
Exit 1
}
Run script as 32-bit process on 64-bit clients: No
Enforce script signature check and run script silently: No

Leave a comment