Notices: This section not yet converted to new layout. Download stats are rolling back out.

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

Java SE Runtime Environment 8u20

8.0.20.01

There are no package test results for this package

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

Java SE Runtime Environment 8.0.20

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

C:\> choco install jre8 --version 8.0.20.01

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

C:\> choco upgrade jre8 --version 8.0.20.01

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $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")) 
        
        out-i586($params)
        chocolatey-install  
    } catch {
        if ($_.Exception.InnerException) {
            $msg = $_.Exception.InnerException.Message
        } else {
            $msg = $_.Exception.Message
        }
        
        Write-ChocolateyFailure 'jre8' "$msg"
        throw 
    }  
    
  • tools\chocolateyUninstall.ps1 Show
    $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 Show
    $jre_version = '8u20' 
    $build = '26'
    $uninstall_id = "18020" 
    $script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
    
    function use64bit() {
        if (Test-Path (Join-Path $script_path "i586.txt")) {
            return $false
        }
        $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'
    }
    
    function out-i586($params) {
        if ($params.i586 -eq $true -or $params.x64 -eq "false") {
            Out-File (Join-Path $script_path "i586.txt")
        }
    }

Virus Scan Results

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.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Sun Microsystems/Oracle Corporation

Tags

Version History

Version Downloads Last updated Status
Java SE Runtime Environment 8.0.144 657183 Friday, August 11, 2017 approved
Java SE Runtime Environment 8.0.141 211307 Thursday, July 20, 2017 approved
Java SE Runtime Environment 8.0.131 651834 Friday, April 28, 2017 approved
Java SE Runtime Environment 8.0.121 527805 Thursday, February 2, 2017 approved
Java SE Runtime Environment 8.0.111 585162 Saturday, November 5, 2016 approved
Java SE Runtime Environment 8.0.101.20160917 367764 Sunday, September 18, 2016 approved
Java SE Runtime Environment 8.0.101 400426 Friday, July 22, 2016 approved
Java SE Runtime Environment 8.0.91 33837 Friday, April 22, 2016 approved
Java SE Runtime Environment 8.0.77 44291 Saturday, March 26, 2016 approved
Show More

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