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

Java SE Development Kit

8.0.202

Package test results have failed.

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.
  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.
Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved as a trusted package on 3/22/2019.

Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers, as well as in today's demanding embedded environments. Java offers the rich user interface, performance, versatility, portability, and security that today's applications require.

To install Java SE Development Kit, run the following command from the command line or from PowerShell:

C:\> choco install jdk8.portable

To upgrade Java SE Development Kit, run the following command from the command line or from PowerShell:

C:\> choco upgrade jdk8.portable

Files

Hide
  • tools\ChocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $PackageName = 'jdk8'
    $Url32 = 'https://edelivery.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-windows-i586.exe'
    $Checksum32 = '88d6f861cc57866bfe85889798f18e0a0771ec0283ed81f3288049eb98d7c285'
    $ChecksumType32 = 'sha256'
    $Url64 = 'https://edelivery.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-windows-x64.exe'
    $Checksum64 = 'b3bcdd6007e30c7b9d459b5bef766ac49f1e0b1cc92b11b19af3cf0439c3bc9f'
    $ChecksumType64 = 'sha256'
    $JavaVersion = '8u202'
    $InstallationPath = Join-Path $(Get-ToolsLocation) "jdk_$JavaVersion"
    $UnzipPath = $(Join-Path $InstallationPath "tmp")
    
    $PackageArgs = @{
        PackageName    = $PackageName
        Url            = $Url32
        Checksum       = $Checksum32
        ChecksumType   = $ChecksumType32
        Url64          = $Url64
        Checksum64     = $Checksum64
        ChecksumType64 = $ChecksumType64
        UnzipLocation  = $UnzipPath
        FileType       = 'exe'
        Options        = @{
            Headers = @{
                Cookie = 'oraclelicense=accept-securebackup-cookie'
            }
        }
    }
    Install-ChocolateyZipPackage @PackageArgs
    
    $JdkFilesPath = Get-ChildItem -Path $UnzipPath -File -Recurse | Sort-Object Length -Descending | Select-Object -First 3
    $JdkToolsPath = $JdkFilesPath[0].FullName
    $JdkSrcPath = $JdkFilesPath[2].FullName
    
    $PackageArgs = @{
        PackageName   = $PackageName
        Url           = $JdkToolsPath
        Url64         = $JdkToolsPath
        UnzipLocation = $InstallationPath
    }
    Install-ChocolateyZipPackage @PackageArgs
    
    $PackageArgs = @{
        PackageName   = $PackageName
        Url           = $JdkSrcPath
        Url64         = $JdkSrcPath
        UnzipLocation = $InstallationPath
    }
    Install-ChocolateyZipPackage @PackageArgs
    
    Remove-Item -Path $UnzipPath -Recurse -Force -ErrorAction Ignore
    
    $JdkToolsPath = (Get-ChildItem -Path $InstallationPath -File -Recurse | Sort-Object Length -Descending | Select-Object -First 1).FullName
    $PackageArgs = @{
        PackageName   = $PackageName
        Url           = $JdkToolsPath
        Url64         = $JdkToolsPath
        UnzipLocation = $InstallationPath
    }
    Install-ChocolateyZipPackage @PackageArgs
    Remove-Item -Path $JdkToolsPath -Force -ErrorAction Ignore
    
    $UnpackFiles = Get-ChildItem -Path $InstallationPath -File -Filter "*.pack" -Recurse
    ForEach ($UnpackFile in $UnpackFiles) {
        $src = $UnpackFile.FullName
        $dst = Join-Path $UnpackFile.Directory.FullName $("{0}.{1}" -f $UnpackFile.BaseName, "jar")
        & "$InstallationPath\bin\unpack200.exe" -r -v "$src" "$dst"
    }
    

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.

Package Maintainer(s)

Software Author(s)

  • Sun Microsystems/Oracle Corporation

Tags

Release Notes

http://www.oracle.com/technetwork/java/javase/documentation/8u-relnotes-2225394.html

Version History

Version Downloads Last updated Status
Java SE Development Kit 8.0.192 185 Wednesday, October 17, 2018 approved
Java SE Development Kit 8.0.181 175 Wednesday, July 18, 2018 approved
Java SE Development Kit 8.0.172 200 Wednesday, April 18, 2018 approved
Java SE Development Kit 8.0.162 187 Thursday, February 22, 2018 approved

Discussion for the Java SE Development Kit Package

Ground rules:

  • This discussion is only about Java SE Development Kit and the Java SE Development Kit 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 Development Kit, 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok