Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...
Downloads:
3,010,466
Downloads of v 7.0.71:
34,738
Last Update:
15 Oct 2014
Package Maintainer(s):
Software Author(s):
- Oracle
Tags:
java runtime environment- Software Specific:
- Software Site
- Software License
- Package Specific:
- Possible Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Java Runtime (JRE)
This is not the latest version of Java Runtime (JRE) available.
- Software Specific:
- Software Site
- Software License
- Package Specific:
- Possible Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
3,010,466
Downloads of v 7.0.71:
34,738
Maintainer(s):
Software Author(s):
- Oracle
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
Java Runtime (JRE) 7.0.71
This is not the latest version of Java Runtime (JRE) available.
All Checks are Unknown
2 Test of Unknown Status
Validation Testing Unknown
Verification Testing Unknown
To install Java Runtime (JRE), run the following command from the command line or from PowerShell:
To upgrade Java Runtime (JRE), run the following command from the command line or from PowerShell:
To uninstall Java Runtime (JRE), 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
2. Get the package into your environment-
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
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download javaruntime --internalize --version=7.0.71 --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade javaruntime -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 javaruntime -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 javaruntime installed
win_chocolatey:
name: javaruntime
state: present
version: 7.0.71
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 'javaruntime' do
action :install
version '7.0.71'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: javaruntime,
Version: 7.0.71,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller javaruntime
{
Name = 'javaruntime'
Ensure = 'Present'
Version = '7.0.71'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'javaruntime':
provider => 'chocolatey',
ensure => '7.0.71',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install javaruntime version="7.0.71" 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 by moderator ferventcoder on 26 Oct 2014.
Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
Note
This package installs the Java version offered at https://www.java.com (currently Java 7). It also sets SPONSORS=0
(see docs).
If you want Java 8, install the jre8 package instead.
This package installs both 32 and 64-bit versions on 64-bit systems. If you only want the version specific to your OS bitness, install javaruntime-platformspecific instead.
<?xml version='1.0' encoding='utf-8'?>
<Jobs>
<ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="09669502-1cf8-48a5-a4da-1d7e5436f2e4">
<SourceTemplate><![CDATA[<Jobs>
<ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="0fb30714-8ed0-4611-8f1b-cb8fec9dae91">
<WebsiteUrl />
<UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</UserAgent>
<UserNotes />
<LastFileSize>384846</LastFileSize>
<LastFileDate>2012-05-23T02:09:37.7748325</LastFileDate>
<IgnoreFileInformation>false</IgnoreFileInformation>
<DownloadBeta>Default</DownloadBeta>
<DownloadDate xsi:nil="true" />
<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<ExclusiveDownload>false</ExclusiveDownload>
<HttpReferer />
<SetupInstructions />
<Variables>
<item>
<key>
<string>version</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>StartEnd</VariableType>
<Regex />
<Url><placeholder name="Url with version information" value="https://www.java.com/en/download/manual.jsp" /></Url>
<StartText><TABLE cellspacing ="1" cellpadding ="6" border = "0">
<TR>
<TH class="Title" align="center" width=90>7-Zip </StartText>
<EndText><BR></EndText>
<TextualContent />
<Name>version</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>url64</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>Textual</VariableType>
<Regex />
<TextualContent>""</TextualContent>
<Name>url64</Name>
</UrlVariable>
</value>
</item>
</Variables>
<ExecuteCommand />
<ExecutePreCommand />
<ExecuteCommandType>Batch</ExecuteCommandType>
<ExecutePreCommandType>Batch</ExecutePreCommandType>
<Category />
<SourceType>FixedUrl</SourceType>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>true</Enabled>
<FileHippoId />
<LastUpdated>2012-05-23T02:09:37.7748325</LastUpdated>
<TargetPath>C:\Chocolatey\_work\</TargetPath>
<FixedDownloadUrl><placeholder name="Download Url - Optional" value="{url}" /></FixedDownloadUrl>
<Name><placeholder name="Name" value="javaruntime" /></Name>
</ApplicationJob>
</Jobs>]]></SourceTemplate>
<WebsiteUrl />
<UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</UserAgent>
<UserNotes />
<LastFileSize>29458856</LastFileSize>
<LastFileDate>2014-09-29T19:06:45+02:00</LastFileDate>
<IgnoreFileInformation>false</IgnoreFileInformation>
<DownloadBeta>Default</DownloadBeta>
<DownloadDate xsi:nil="true" />
<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<ExclusiveDownload>false</ExclusiveDownload>
<HttpReferer />
<SetupInstructions />
<Variables>
<item>
<key>
<string>version</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>Textual</VariableType>
<Regex />
<Url />
<StartText><TABLE cellspacing ="1" cellpadding ="6" border = "0">
<TR>
<TH class="Title" align="center" width=90>7-Zip </StartText>
<EndText><BR></EndText>
<TextualContent>{textVersion:regexreplace:(\d) Update (\d+):$1.0.$2}</TextualContent>
<Name>version</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>url64</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>StartEnd</VariableType>
<Regex />
<Url>https://www.java.com/en/download/manual_java7.jsp</Url>
<StartText><a title="Download Java software for Windows (64-bit)" href="</StartText>
<EndText>"></EndText>
<TextualContent />
<Name>url64</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>url</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>StartEnd</VariableType>
<Regex />
<Url>https://www.java.com/en/download/manual_java7.jsp</Url>
<StartText><a title="Download Java software for Windows Offline" href="</StartText>
<EndText>"></EndText>
<Name>url</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>textVersion</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>StartEnd</VariableType>
<Regex>version 7 update 71</Regex>
<Url>https://www.java.com/en/download/manual_java7.jsp</Url>
<StartText><h4 class="sub">Recommended Version </StartText>
<EndText></h4></EndText>
<Name>textVersion</Name>
</UrlVariable>
</value>
</item>
</Variables>
<ExecuteCommand />
<ExecutePreCommand>chocopkgup /p javaruntime-platformspecific /v {version} /u "{preupdate-url}" /u64 "{url64}" /pp "{file}"
REM /disablepush</ExecutePreCommand>
<ExecuteCommandType>Batch</ExecuteCommandType>
<ExecutePreCommandType>Batch</ExecutePreCommandType>
<Category />
<SourceType>FixedUrl</SourceType>
<PreviousLocation>C:\Chocolatey\_work\jre-7u71-windows-i586.exe</PreviousLocation>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>true</Enabled>
<FileHippoId />
<LastUpdated>2014-10-15T21:06:23.4943118+02:00</LastUpdated>
<TargetPath>C:\Chocolatey\_work\</TargetPath>
<FixedDownloadUrl>{url}</FixedDownloadUrl>
<Name>javaruntime</Name>
</ApplicationJob>
</Jobs>
try {
$scriptDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
# Import function to test if JRE in the same version is already installed
Import-Module (Join-Path $scriptDir 'thisJreInstalled.ps1')
$packageName = 'javaruntime'
# Find download URLs at http://www.java.com/en/download/manual.jsp
$url = 'http://javadl.sun.com/webapps/download/AutoDL?BundleId=97807'
$url64 = 'http://javadl.sun.com/webapps/download/AutoDL?BundleId=97809'
$version = '7.0.71'
$versionMajor = $version -replace '^(\d+)\..*', '$1'
$installerType = 'exe'
$installArgs = '/s REBOOT=Suppress SPONSORS=0'
# If both 32- and 64-bit versions are installed, it adds only the folder
# of the 64-bit version to the env variables
$javaHome = Join-Path $env:ProgramFiles "Java\jre$versionMajor"
$jreForPathVariable = Join-Path $javaHome 'bin'
$thisJreInstalledHash = thisJreInstalled($version)
$osBitness = Get-ProcessorBits
# This is the code for both javaruntime and javaruntime-platformspecific packages.
# If the package is javaruntime-platformspecific, only install the jre version
# based on the OS bitness, otherwise install both 32- and 64-bit versions
if ($packageName -match 'platformspecific') {
if ($thisJreInstalledHash.x86_32 -or $thisJreInstalledHash.x86_64) {
Write-Output "Java Runtime Environment $version is already installed. Skipping download and installation to avoid 1603 errors."
} else {
Install-ChocolateyPackage $packageName $installerType $installArgs $url $url64
}
} else {
# Otherwise it is the javaruntime package which installs both 32- and 64-bit jre versions on 64-bit systems
# Checks if JRE 32/64-bit in the same version is already installed,
# otherwise it downloads and installs it.
# This is to avoid unnecessary downloads and 1603 errors.
if ($thisJreInstalledHash.x86_32) {
Write-Output "Java Runtime Environment $version (32-bit) is already installed. Skipping download and installation"
} else {
Install-ChocolateyPackage $packageName $installerType $installArgs $url
}
# Only check for the 64-bit version if the system is 64-bit
if ($osBitness -eq 64) {
if ($thisJreInstalledHash.x86_64) {
Write-Output "Java Runtime Environment $version (64-bit) is already installed. Skipping download and installation"
} else {
# Here $url64 is used twice to obtain the correct message from Chocolatey
# that it installed the 64-bit version, otherwise it would display 32-bit,
# regardless of the actual bitness of the software.
Install-ChocolateyPackage $packageName $installerType $installArgs $url64 $url64
}
}
}
# Only set the entry for the PATH variable and the JAVA_HOME env variable
# if the same version of JRE was not already installed (32- or 64-bit separately)
if (!($thisJreInstalledHash.x86_32) -or !($thisJreInstalledHash.x86_64)) {
Install-ChocolateyPath $jreForPathVariable 'Machine'
Start-ChocolateyProcessAsAdmin @"
[Environment]::SetEnvironmentVariable('JAVA_HOME', '$javaHome', 'Machine')
"@
}
} catch {
Write-ChocolateyFailure $packageName $($_.Exception.Message)
throw
}
# This function checks if the same version of JRE is already installed on the computer.
# It returns a hash map with a 'x86_32' and 'x86_64'. These values are not empty if the
# same version and bitness of JRE is already installed.
function thisJreInstalled($version) {
$productSearch = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match '^Java \d+ Update \d+'}
# The regexes for the name of the JRE registry entries (32- and 64 bit versions)
$nameRegex32 = '^Java \d+ Update \d+$'
$nameRegex64 = '^Java \d+ Update \d+ \(64-bit\)$'
$versionRegex = $('^' + $version + '\d*$')
return @{
'x86_32' = $productSearch | Where-Object {$_.Name -match $nameRegex32 -and $_.Version -match $versionRegex}
'x86_64' = $productSearch | Where-Object {$_.Name -match $nameRegex64 -and $_.Version -match $versionRegex}
}
}
- javaruntime.7.0.71.nupkg (52189c9f0025) - ## / 57 - Log in or click on link to see number of positives
- jre-7u71-windows-i586.exe&BHost=javadl.sun.com&File=jre-7u71-windows-i586.exe&AuthParam=1461272517_b851a02aa60d61bc518d7392fda7ed26&ext=.exe (e831176af7a2) - ## / 56 - Log in or click on link to see number of positives
- jre-7u71-windows-x64.exe&BHost=javadl.sun.com&File=jre-7u71-windows-x64.exe&AuthParam=1461272528_652d6a16fa264a74f4126d336967a971&ext=.exe (208f0f6204fa) - ## / 56 - Log in or click on link to see number of positives
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 Runtime (JRE) 8.0.231 | 96038 | Tuesday, October 29, 2019 | Approved |
Java Runtime (JRE) 8.0.191 | 498721 | Saturday, November 10, 2018 | Approved |
Java Runtime (JRE) 8.0.181 | 94946 | Thursday, October 4, 2018 | Approved |
Java Runtime (JRE) 8.0.151 | 467023 | Monday, October 30, 2017 | Approved |
Java Runtime (JRE) 8.0.144 | 213033 | Friday, August 11, 2017 | Approved |
Java Runtime (JRE) 8.0.121 | 451637 | Friday, February 17, 2017 | Approved |
Java Runtime (JRE) 8.0.101 | 631519 | Sunday, September 18, 2016 | Approved |
Java Runtime (JRE) 8.0.73 | 180519 | Monday, March 21, 2016 | Approved |
Java Runtime (JRE) 8.0.66 | 42176 | Friday, January 8, 2016 | Approved |
Java Runtime (JRE) 8.0.60 | 27755 | Sunday, October 25, 2015 | Approved |
Java Runtime (JRE) 8.0.51 | 28325 | Friday, August 21, 2015 | Approved |
Java Runtime (JRE) 8.0.40 | 75073 | Tuesday, March 24, 2015 | Approved |
Java Runtime (JRE) 7.0.75 | 49876 | Tuesday, January 20, 2015 | Approved |
Java Runtime (JRE) 7.0.71 | 34738 | Wednesday, October 15, 2014 | Approved |
Java Runtime (JRE) 7.0.67.20140930 | 11365 | Tuesday, September 30, 2014 | Approved |
Java Runtime (JRE) 7.0.67.20140907 | 14906 | Saturday, September 6, 2014 | Approved |
Java Runtime (JRE) 7.0.67 | 11937 | Tuesday, August 5, 2014 | Approved |
Java Runtime (JRE) 7.0.65.20140715 | 6665 | Tuesday, July 15, 2014 | Approved |
Java Runtime (JRE) 7.0.60 | 12358 | Thursday, May 29, 2014 | Approved |
Java Runtime (JRE) 7.0.55.20140523 | 3186 | Thursday, May 22, 2014 | Approved |
Java Runtime (JRE) 7.0.55.20140522 | 432 | Thursday, May 22, 2014 | Approved |
Java Runtime (JRE) 7.0.55.20140521 | 1697 | Wednesday, May 21, 2014 | Approved |
Java Runtime (JRE) 7.0.55.20140520 | 1764 | Tuesday, May 20, 2014 | Approved |
Java Runtime (JRE) 7.0.55 | 10686 | Wednesday, April 16, 2014 | Approved |
Java Runtime (JRE) 7.0.51.20140128 | 11641 | Tuesday, January 28, 2014 | Approved |
Java Runtime (JRE) 7.0.51 | 3254 | Tuesday, January 14, 2014 | Approved |
Java Runtime (JRE) 7.0.45 | 6916 | Wednesday, October 16, 2013 | Approved |
Java Runtime (JRE) 7.0.40.20131007 | 1303 | Monday, October 7, 2013 | Approved |
Java Runtime (JRE) 7.0.40 | 2279 | Friday, September 13, 2013 | Approved |
Java Runtime (JRE) 7.0.25 | 4819 | Tuesday, June 18, 2013 | Approved |
Java Runtime (JRE) 7.0.21 | 2498 | Wednesday, April 17, 2013 | Approved |
Java Runtime (JRE) 7.0.17 | 1344 | Tuesday, March 5, 2013 | Approved |
Java Runtime (JRE) 7.0.15 | 818 | Wednesday, February 20, 2013 | Approved |
Java Runtime (JRE) 7.0.11 | 933 | Monday, January 21, 2013 | Approved |
Java Runtime (JRE) 7.0.9 | 1066 | Wednesday, December 5, 2012 | Approved |
Java Runtime (JRE) 7.0.5.1 | 568 | Friday, November 30, 2012 | Approved |
Java Runtime (JRE) 7.0.5 | 2550 | Sunday, June 17, 2012 | Approved |
Java Runtime (JRE) 6.0.31.1 | 1507 | Wednesday, April 25, 2012 | Approved |
Jave Runtime (JRE) 6.0.30 | 2215 | Tuesday, January 10, 2012 | Approved |
This package has no dependencies.
Ground Rules:
- This discussion is only about Java Runtime (JRE) and the Java Runtime (JRE) 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 Runtime (JRE), 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.