Downloads:

12,371,528

Downloads of v 8.0.20:

2,452

Last Update:

9/3/2014

Package Maintainer(s):

Software Author(s):

  • Sun Microsystems/Oracle Corporation

Tags:

java jre

Java SE Runtime Environment 8u20

This is not the latest version of Java SE Runtime Environment 8u20 available.

8.0.20 | Updated: 9/3/2014

Downloads:

12,371,528

Downloads of v 8.0.20:

2,452

Software Author(s):

  • Sun Microsystems/Oracle Corporation

Tags:

java jre

Java SE Runtime Environment 8u20 8.0.20

This is not the latest version of Java SE Runtime Environment 8u20 available.

All Checks are Unknown

2 Test of Unknown Status


Validation Testing Unknown


Verification Testing Unknown

To install Java SE Runtime Environment 8u20, run the following command from the command line or from PowerShell:

>

To upgrade Java SE Runtime Environment 8u20, run the following command from the command line or from PowerShell:

>

To uninstall Java SE Runtime Environment 8u20, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade jre8 -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade jre8 -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure jre8 installed
  win_chocolatey:
    name: jre8
    state: present
    version: 8.0.20
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'jre8' do
  action    :install
  version  '8.0.20'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: jre8,
    Version: 8.0.20,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller jre8
{
   Name     = 'jre8'
   Ensure   = 'Present'
   Version  = '8.0.20'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'jre8':
  provider => 'chocolatey',
  ensure   => '8.0.20',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install jre8 version="8.0.20" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 9/21/2015.

Description

Java SE Runtime Environment 8.0.20


tools\chocolateyInstall.ps1
$script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$common = $(Join-Path $script_path "common.ps1")
. $common

#installs jre8
try {
    $params = "$env:chocolateyPackageParameters" # -params '"x64=false;path=c:\\java\\jre"'
    $params = (ConvertFrom-StringData $params.Replace(";", "`n")) 
    
    chocolatey-install  
} catch {
    if ($_.Exception.InnerException) {
        $msg = $_.Exception.InnerException.Message
    } else {
        $msg = $_.Exception.Message
    }
    
    Write-ChocolateyFailure 'jre8' "$msg"
    throw 
}  
tools\chocolateyUninstall.ps1
$script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$common = $(Join-Path $script_path "common.ps1")
. $common


function Uninstall-JRE {
    $use64bit = use64bit
    if ($use64bit) {
        $jre = "/qn /x {26A24AE4-039D-4CA4-87B4-2F864" + $uninstall_id + "F0}"   
    } else {
        $jre = "/qn /x {26A24AE4-039D-4CA4-87B4-2F832" + $uninstall_id + "F0}"   
    }
     Start-ChocolateyProcessAsAdmin $jre 'msiexec'
}
try {  
  Uninstall-JRE


  Write-ChocolateySuccess 'jre8'
} catch {
  Write-ChocolateyFailure 'jre8' "$($_.Exception.Message)"
  #throw 
}
tools\common.ps1
$jre_version = '8u20' 
$build = '26'
$uninstall_id = "18020" 
$script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)

function use64bit() {
    $is64bitOS = (Get-WmiObject -Class Win32_ComputerSystem).SystemType -match ‘(x64)’
    return $is64bitOS
}

function has_file($filename) {
    return Test-Path $filename
}

function download-from-oracle($url, $output_filename) {
    if (-not (has_file($output_fileName))) {
        Write-Host  "Downloading jre from $url"

        [System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }
        $client = New-Object Net.WebClient
        $dummy = $client.Headers.Add('Cookie', 'gpw_e24=http://www.oracle.com; oraclelicense=accept-securebackup-cookie')
        $dummy = $client.DownloadFile($url, $output_filename)
    }  
}

function download-jre-file($url, $output_filename) {
    $dummy = download-from-oracle $url $output_filename
}

function download-jre() {
    $arch = get-arch
    $filename = "jre-$jre_version-windows-$arch.exe"
    $url = "http://download.oracle.com/otn-pub/java/jdk/$jre_version-b$build/$filename"
    $output_filename = Join-Path $script_path $filename

    $dummy = download-jre-file $url $output_filename

    return $output_filename
}


function get-arch() {
    if(use64bit) {
        return "x64"
    } else {
        return "i586"
    }
}

function chocolatey-install() {
    $jre_file = download-jre
    $arch = get-arch

    Write-Host "Installing jre $jre_version($arch) to $java_home"
    Install-ChocolateyInstallPackage 'jre8' 'exe' "/s" $jre_file          

    Write-ChocolateySuccess 'jre8'
}

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Java SE Runtime Environment 8.0.211 993284 Thursday, April 25, 2019 Approved
Java SE Runtime Environment 8.0.201 1166011 Wednesday, January 23, 2019 Approved
Java SE Runtime Environment 8.0.191.20181114 722796 Wednesday, November 14, 2018 Approved
Java SE Runtime Environment 8.0.191 164872 Saturday, November 10, 2018 Approved
Java SE Runtime Environment 8.0.181 1095009 Wednesday, July 25, 2018 Approved
Java SE Runtime Environment 8.0.171 688226 Monday, April 30, 2018 Approved
Java SE Runtime Environment 8.0.161 1283755 Tuesday, January 23, 2018 Approved
Java SE Runtime Environment 8.0.151 888256 Friday, October 27, 2017 Approved
Java SE Runtime Environment 8.0.144 659659 Friday, August 11, 2017 Approved

This package has no dependencies.

Discussion for the Java SE Runtime Environment 8u20 Package

Ground Rules:

  • This discussion is only about Java SE Runtime Environment 8u20 and the Java SE Runtime Environment 8u20 package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Java SE Runtime Environment 8u20, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus