Downloads:
96,784
Downloads of v 11.0.2.91:
217
Last Update:
13 Mar 2019
Package Maintainer(s):
Software Author(s):
- Amazon
Tags:
corretto java jvm- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
CorrettoJDK
This is not the latest version of CorrettoJDK available.
- 1
- 2
- 3
11.0.2.91 | Updated: 13 Mar 2019
- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
96,784
Downloads of v 11.0.2.91:
217
Maintainer(s):
Software Author(s):
- Amazon
CorrettoJDK 11.0.2.91
This is not the latest version of CorrettoJDK available.
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Amazon. The inclusion of Amazon trademark(s), if any, upon this webpage is solely to identify Amazon goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Validation Testing Passed
Verification Testing Passed
DetailsScan Testing Resulted in Flagged:
This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.
We recommend clicking the "Details" link to make your own decision on installing this package.
Deployment Method: Individual Install, Upgrade, & Uninstall
To install CorrettoJDK, run the following command from the command line or from PowerShell:
To upgrade CorrettoJDK, run the following command from the command line or from PowerShell:
To uninstall CorrettoJDK, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
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://community.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
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download correttojdk --internalize --version=11.0.2.91 --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade correttojdk -y --source="'INTERNAL REPO URL'" --version="'11.0.2.91'" [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 correttojdk -y --source="'INTERNAL REPO URL'" --version="'11.0.2.91'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install correttojdk
win_chocolatey:
name: correttojdk
version: '11.0.2.91'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'correttojdk' do
action :install
source 'INTERNAL REPO URL'
version '11.0.2.91'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller correttojdk
{
Name = "correttojdk"
Version = "11.0.2.91"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'correttojdk':
ensure => '11.0.2.91',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved by moderator mkevenaar on 14 Mar 2019.
Amazon Corretto is a distribution of OpenJDK provided by Amazon.
Uninstall-ChocolateyEnvironmentVariable 'JAVA_HOME' 'Machine'
rm -r 'C:\Program Files\Corretto\jdk11.0.2_9'
$pathToUnInstall = 'C:\Program Files\Corretto\jdk11.0.2_9\bin'
$pathType = 'Machine'
if ($env:PATH.ToLower().Contains($pathToUnInstall.ToLower()))
{
$statementTerminator = ";"
Write-Host "PATH environment variable contains $pathToUnInstall. Removing..."
$actualPath = [System.Collections.ArrayList](Get-EnvironmentVariable -Name 'Path' -Scope $pathType).split($statementTerminator)
$actualPath.Remove($pathToUnInstall)
$newPath = $actualPath -Join $statementTerminator
if ($pathType -eq [System.EnvironmentVariableTarget]::Machine) {
if (Test-ProcessAdminRights) {
Set-EnvironmentVariable -Name 'Path' -Value $newPath -Scope $pathType
} else {
$psArgs = "UnInstall-ChocolateyPath -pathToUnInstall `'$originalPathToUnInstall`' -pathType `'$pathType`'"
Start-ChocolateyProcessAsAdmin "$psArgs"
}
} else {
Set-EnvironmentVariable -Name 'Path' -Value $newPath -Scope $pathType
}
}
$CorrettoDirectory = 'C:\Program Files\Corretto'
If ((Get-ChildItem -Force $CorrettoDirectory) -eq $Null) {
rmdir $CorrettoDirectory
}
Log in or click on link to see number of positives.
- amazon-corretto-11.0.2.9.1-windows-x64.zip (799d5cbea5f4) - ## / 53
- correttojdk.11.0.2.91.nupkg (e2bcfe96f647) - ## / 56
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.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
Corretto JDK 21.0.4.71 | 6010 | Tuesday, July 16, 2024 | Approved | |
Corretto JDK 21.0.3.91 | 21159 | Saturday, June 1, 2024 | Approved | |
Corretto JDK 21.0.1 | 9298 | Sunday, October 22, 2023 | Approved | |
Corretto JDK 21.0.0 | 8774 | Tuesday, September 19, 2023 | Approved | |
Corretto JDK 20.0.2 | 3357 | Thursday, July 27, 2023 | Approved | |
Corretto JDK 20.0.1 | 3821 | Thursday, April 20, 2023 | Approved | |
Corretto JDK 20.0.0 | 2226 | Friday, March 24, 2023 | Approved | |
Corretto JDK 19.0.2 | 3180 | Wednesday, January 18, 2023 | Approved | |
Corretto JDK 19.0.1 | 6518 | Wednesday, October 19, 2022 | Approved | |
Corretto JDK 19.0.0 | 3172 | Tuesday, September 20, 2022 | Approved | |
Corretto JDK 18.0.2 | 3578 | Friday, July 22, 2022 | Approved | |
Corretto JDK 18.0.1 | 3975 | Tuesday, April 19, 2022 | Approved | |
Corretto JDK 18.0.0 | 525 | Thursday, March 24, 2022 | Approved | |
Corretto JDK 17.0.2 | 1067 | Thursday, February 3, 2022 | Approved | |
Corretto JDK 17.0.1 | 1319 | Tuesday, October 26, 2021 | Approved | |
Corretto JDK 17.0.0 | 1428 | Friday, September 17, 2021 | Approved | |
Corretto JDK 16.0.2.7 | 1041 | Sunday, July 25, 2021 | Approved | |
Corretto JDK 16.0.1.9 | 226 | Wednesday, July 21, 2021 | Approved | |
Corretto JDK 16.0.0.36 | 2753 | Wednesday, April 21, 2021 | Approved | |
Corretto JDK 16.0.0 | 1324 | Tuesday, March 16, 2021 | Approved | |
Corretto JDK 15.0.2.7 | 1789 | Friday, January 22, 2021 | Approved | |
Corretto JDK 15.0.1.9 | 1994 | Saturday, October 24, 2020 | Approved | |
Corretto JDK 15.0.0.36 | 164 | Friday, October 23, 2020 | Approved | |
Corretto JDK 11.0.9.11 | 550 | Friday, October 23, 2020 | Approved | |
Corretto JDK 11.0.8.10 | 3758 | Wednesday, July 15, 2020 | Approved | |
Corretto JDK 11.0.7.10 | 761 | Wednesday, April 15, 2020 | Approved | |
Corretto JDK 11.0.6.10 | 992 | Wednesday, January 22, 2020 | Approved | |
Corretto JDK 11.0.5.10 | 856 | Friday, October 18, 2019 | Approved | |
Corretto JDK 11.0.4.11 | 557 | Thursday, August 15, 2019 | Approved | |
CorrettoJDK 11.0.3.71 | 344 | Thursday, April 18, 2019 | Approved | |
CorrettoJDK 11.0.2.91 | 217 | Wednesday, March 13, 2019 | Approved |
This package has no dependencies.
Ground Rules:
- This discussion is only about CorrettoJDK and the CorrettoJDK 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 CorrettoJDK, 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.