Nothing Special   »   [go: up one dir, main page]


Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

34,025,830

Downloads of v 8.0.25.02:

2,351

Last Update:

24 Oct 2014

Package Maintainer(s):

Software Author(s):

  • Sun Microsystems/Oracle Corporation

Tags:

java jre

Java SE Runtime Environment 8u25

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

  • 1
  • 2
  • 3

8.0.25.02 | Updated: 24 Oct 2014

Downloads:

34,025,830

Downloads of v 8.0.25.02:

2,351

Software Author(s):

  • Sun Microsystems/Oracle Corporation

Tags:

java jre

Java SE Runtime Environment 8u25 8.0.25.02

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

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Sun Microsystems/Oracle Corporation. The inclusion of Sun Microsystems/Oracle Corporation trademark(s), if any, upon this webpage is solely to identify Sun Microsystems/Oracle Corporation 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 Unknown


Verification Testing Unknown


Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

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

>

Deployment Method:

NOTE

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

  • 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

3. Copy Your Script

choco upgrade jre8 -y --source="'INTERNAL REPO URL'" --version="'8.0.25.02'" [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="'INTERNAL REPO URL'" --version="'8.0.25.02'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install jre8
  win_chocolatey:
    name: jre8
    version: '8.0.25.02'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'jre8' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '8.0.25.02'
end

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


cChocoPackageInstaller jre8
{
    Name     = "jre8"
    Version  = "8.0.25.02"
    Source   = "INTERNAL REPO URL"
}

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


package { 'jre8':
  ensure   => '8.0.25.02',
  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.

Package Approved

This package was approved by moderator purity on 21 Sep 2015.

Description

Java SE Runtime Environment 8.0.25.02


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")) 
    
    if (check-both($params)) {
        chocolatey-install $true
        chocolatey-install
        out-both($params)
    } else {
        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
$script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$common = $(Join-Path $script_path "common.ps1")
. $common


function Uninstall-JRE {
    if (Test-Path (Join-Path $script_path "both.txt")) {
        $jre = "/qn /x {26A24AE4-039D-4CA4-87B4-2F864" + $uninstall_id + "F0}"
        Start-ChocolateyProcessAsAdmin $jre 'msiexec'
        $jre = "/qn /x {26A24AE4-039D-4CA4-87B4-2F832" + $uninstall_id + "F0}"
        Start-ChocolateyProcessAsAdmin $jre 'msiexec'
    } else {
        $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
} catch {
    # ingore exception
} finally {
    Write-ChocolateySuccess 'jre8'
}
tools\common.ps1
$jre_version = '8u25' 
$build = '18'
$uninstall_id = "18025" 
$script_path = $(Split-Path -parent $MyInvocation.MyCommand.Definition)

function use64bit($Forcei586 = $false) {
    if ($Forcei586) {
        return $false
    }
    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($Forcei586 = $false) {
    $arch = get-arch $Forcei586
    $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($Forcei586 = $false) {
    if((use64bit $Forcei586)) {
        return "x64"
    } else {
        return "i586"
    }
}

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

    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")
    }
}

function check-both($params) {
    return ($params.both -eq $true) -and (use64bit) 
}

function out-both($params) {
    if (check-both($params)) {
            Out-File (Join-Path $script_path "both.txt")
    }
}

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.

Add to Builder Version Downloads Last Updated Status
Java SE Runtime Environment 8.0.421 1149681 Friday, July 26, 2024 Approved
Java SE Runtime Environment 8.0.411 964484 Monday, April 22, 2024 Approved
Java SE Runtime Environment 8.0.401 1006574 Monday, January 22, 2024 Approved
Java SE Runtime Environment 8.0.391 1086146 Thursday, October 19, 2023 Approved
Java SE Runtime Environment 8.0.381 1316510 Wednesday, August 2, 2023 Approved
Java SE Runtime Environment 8.0.371 1239772 Tuesday, May 2, 2023 Approved
Java SE Runtime Environment 8.0.361 1196118 Tuesday, January 31, 2023 Approved
Java SE Runtime Environment 8.0.351 1160672 Tuesday, October 25, 2022 Approved
Java SE Runtime Environment 8.0.341 843979 Wednesday, July 27, 2022 Approved
Java SE Runtime Environment 8.0.333 737592 Thursday, May 19, 2022 Approved
Java SE Runtime Environment 8.0.331 386778 Thursday, April 28, 2022 Approved
Java SE Runtime Environment 8.0.321 837401 Tuesday, February 1, 2022 Exempted
Java SE Runtime Environment 8.0.311 852647 Monday, October 25, 2021 Approved
Java SE Runtime Environment 8.0.301 856014 Friday, July 30, 2021 Approved
Java SE Runtime Environment 8.0.291 819490 Wednesday, April 28, 2021 Approved
Java SE Runtime Environment 8.0.281 827306 Wednesday, January 27, 2021 Approved
Java SE Runtime Environment 8.0.271 837126 Friday, October 30, 2020 Approved
Java SE Runtime Environment 8.0.261 967276 Wednesday, July 29, 2020 Approved
Java SE Runtime Environment 8.0.251 1023882 Wednesday, April 29, 2020 Approved
Java SE Runtime Environment 8.0.241 1096348 Tuesday, January 21, 2020 Approved
Java SE Runtime Environment 8.0.231 1202830 Tuesday, October 29, 2019 Approved
Java SE Runtime Environment 8.0.221 1306885 Friday, July 19, 2019 Approved
Java SE Runtime Environment 8.0.211 1000801 Thursday, April 25, 2019 Approved
Java SE Runtime Environment 8.0.201 1242376 Wednesday, January 23, 2019 Approved
Java SE Runtime Environment 8.0.191.20181114 724680 Wednesday, November 14, 2018 Approved
Java SE Runtime Environment 8.0.191 166659 Saturday, November 10, 2018 Approved
Java SE Runtime Environment 8.0.181 1097687 Wednesday, July 25, 2018 Approved
Java SE Runtime Environment 8.0.171 690671 Monday, April 30, 2018 Approved
Java SE Runtime Environment 8.0.161 1284786 Tuesday, January 23, 2018 Approved
Java SE Runtime Environment 8.0.151 1133340 Friday, October 27, 2017 Approved
Java SE Runtime Environment 8.0.144 665399 Friday, August 11, 2017 Approved
Java SE Runtime Environment 8.0.141 215030 Thursday, July 20, 2017 Approved
Java SE Runtime Environment 8.0.131 654749 Friday, April 28, 2017 Approved
Java SE Runtime Environment 8.0.121 545730 Thursday, February 2, 2017 Approved
Java SE Runtime Environment 8.0.111 586940 Saturday, November 5, 2016 Approved
Java SE Runtime Environment 8.0.101.20160917 374327 Sunday, September 18, 2016 Approved
Java SE Runtime Environment 8.0.101 402130 Friday, July 22, 2016 Approved
Java SE Runtime Environment 8.0.91 35051 Friday, April 22, 2016 Approved
Java SE Runtime Environment 8.0.77 44939 Saturday, March 26, 2016 Approved
Java SE Runtime Environment 8.0.73 58663 Thursday, February 11, 2016 Approved
Java SE Runtime Environment 8.0.71 31066 Thursday, January 21, 2016 Approved
Java SE Runtime Environment 8.0.66 56971 Thursday, November 19, 2015 Approved
Java SE Runtime Environment 8.0.65 37721 Sunday, October 25, 2015 Approved
Java SE Runtime Environment 8.0.60.20150902 53074 Wednesday, September 2, 2015 Approved
Java SE Runtime Environment 8.0.51 52461 Wednesday, July 22, 2015 Approved
Java SE Runtime Environment 8.0.45 308821 Wednesday, April 22, 2015 Approved
Java SE Runtime Environment 8.0.40.20150402 887 Tuesday, April 14, 2015 Approved
Java SE Runtime Environment 8.0.40.20150325 778 Saturday, March 28, 2015 Approved
Java SE Runtime Environment 8.0.40 32437 Tuesday, March 17, 2015 Approved
Java SE Runtime Environment 8.0.31 17059 Thursday, January 22, 2015 Approved
Java SE Runtime Environment 8.0.25.03 6702 Monday, November 10, 2014 Approved
Java SE Runtime Environment 8u25 8.0.25.02 2351 Friday, October 24, 2014 Approved
Java SE Runtime Environment 8u25 8.0.25.01 939 Thursday, October 23, 2014 Approved
Java SE Runtime Environment 8u25 8.0.25 1484 Wednesday, October 15, 2014 Approved
Java SE Runtime Environment 8u20 8.0.20.01 1086 Sunday, September 7, 2014 Approved
Java SE Runtime Environment 8u20 8.0.20 3065 Wednesday, September 3, 2014 Approved

This package has no dependencies.

Discussion for the Java SE Runtime Environment 8u25 Package">Discussion for the Java SE Runtime Environment 8u25 Package

Ground Rules:

  • This discussion is only about Java SE Runtime Environment 8u25 and the Java SE Runtime Environment 8u25 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 8u25, 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 Please enable JavaScript to view the comments powered by Disqus.