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:

420,228

Downloads of v 4.7.1.20171220:

665

Last Update:

20 Dec 2017

Package Maintainer(s):

Software Author(s):

  • Eclipse Foundation

Tags:

eclipse foss cross-platform ide jdk8 jee java scala birt python ruby groovy clojure haskell go

Eclipse

This is not the latest version of Eclipse available.

  • 1
  • 2
  • 3

4.7.1.20171220 | Updated: 20 Dec 2017

Downloads:

420,228

Downloads of v 4.7.1.20171220:

665

Maintainer(s):

Software Author(s):

  • Eclipse Foundation

Eclipse 4.7.1.20171220

This is not the latest version of Eclipse available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Eclipse Foundation. The inclusion of Eclipse Foundation trademark(s), if any, upon this webpage is solely to identify Eclipse Foundation goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Eclipse, run the following command from the command line or from PowerShell:

>

To upgrade Eclipse, run the following command from the command line or from PowerShell:

>

To uninstall Eclipse, 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 eclipse -y --source="'INTERNAL REPO URL'" --version="'4.7.1.20171220'" [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 eclipse -y --source="'INTERNAL REPO URL'" --version="'4.7.1.20171220'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install eclipse
  win_chocolatey:
    name: eclipse
    version: '4.7.1.20171220'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'eclipse' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '4.7.1.20171220'
end

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


cChocoPackageInstaller eclipse
{
    Name     = "eclipse"
    Version  = "4.7.1.20171220"
    Source   = "INTERNAL REPO URL"
}

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


package { 'eclipse':
  ensure   => '4.7.1.20171220',
  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 as a trusted package on 20 Dec 2017.

Description

Eclipse is famous for our Java Integrated Development Environment (IDE), but our C/C++ IDE and PHP IDE are pretty cool too. You can easily combine language support and other features into any of our default packages, and the Eclipse Marketplace allows for virtually unlimited customization and extension.

Eclipse IDE for Java EE Developers

Tools for Java developers creating Java EE and Web applications, including a Java IDE, tools for Java EE, JPA, JSF, Mylyn, EGit and others.

This package includes:

  • Data Tools Platform
  • Git integration for Eclipse
  • Eclipse Java Development Tools
  • Eclipse Java EE Developer Tools
  • JavaScript Development Tools
  • Maven Integration for Eclipse
  • Mylyn Task List
  • Eclipse Plug-in Development Environment
  • Remote System Explorer
  • Code Recommenders Tools for Java Developers
  • Eclipse XML Editors and Tools

Package Parameters

The following package parameters can be set:

  • /InstallationPath or /InstallLocation - Where to install the binaries to - defaults to "$Env:ProgramFiles\Eclipse Foundation\$packageVersion"
  • /Multi-User - Configure Eclipse as a multi-user install

These parameters can be passed to the installer with the use of --params.
For example: --params "'/InstallationPath=C:\path\to\installation /Multi-User'".


tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
. "$toolsDir\Uninstall-ChocolateyShortcut.ps1"

$packageVersion = $Env:ChocolateyPackageVersion

$shortcutName = "Eclipse $packageVersion.lnk"
$shortcutPath = Join-Path $([Environment]::GetFolderPath([System.Environment+SpecialFolder]::CommonPrograms)) $shortcutName
If (Test-Path $shortcutPath) {
  Uninstall-ChocolateyShortcut $shortcutPath -UnpinFromTaskbar
}
$shortcutPath = Join-Path $([Environment]::GetFolderPath([System.Environment+SpecialFolder]::CommonDesktopDirectory)) $shortcutName
If (Test-Path $shortcutPath) {
  Uninstall-ChocolateyShortcut $shortcutPath
}

$logPath = Join-Path $Env:ChocolateyPackageFolder "eclipse.$packageVersion.txt"
$installationPath = Get-Content $logPath
Write-Verbose "Previous Installation Path: $installationPath"

Remove-Item -Path $installationPath -ErrorAction SilentlyContinue -Recurse -Force
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
. "$toolsDir\Get-PackageParameters.ps1"

$packageVersion = $Env:ChocolateyPackageVersion
$packageParameters = Get-PackageParameters

If ($packageParameters.ContainsKey('InstallationPath')) {
  $installationPath = Join-Path $packageParameters.Item('InstallationPath') $packageVersion
} ElseIf ($packageParameters.ContainsKey('InstallLocation')) {
  $installationPath = Join-Path $packageParameters.Item('InstallLocation') $packageVersion
} Else {
  $forceX86 = If ($Env:ChocolateyForceX86) { Get-ProcessorBits 64 } Else { $false }
  $programFilesPath = If ($forceX86) { ${Env:ProgramFiles(x86)} } Else { $Env:ProgramFiles }
  $installationPath = Join-Path $programFilesPath "Eclipse $packageVersion"
}
Write-Verbose "Installation Path: $installationPath"

$multiUser = $packageParameters.ContainsKey('Multi-User')

# *** Automatically filled ***
$packageArgs = @{
  packageName    = 'eclipse'
  url            = 'https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/oxygen/1a/eclipse-jee-oxygen-1a-win32.zip&r=1'
  url64bit       = 'https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/oxygen/1a/eclipse-jee-oxygen-1a-win32-x86_64.zip&r=1'
  unzipLocation  = $installationPath
  checksum       = 'c3c0cbb83ed351e027dd5867cc0ebbd947aff5bb78f68c4f7abb16ff77f05729'
  checksumType   = 'sha256'
  checksum64     = 'a12a6054afc830f9dd4896607b4d77448826e9356747af57002a41a5963f7416'
  checksumType64 = 'sha256'
}
# *** Automatically filled ***

Install-ChocolateyZipPackage @packageArgs

$logPath = Join-Path $Env:ChocolateyPackageFolder "eclipse.$packageVersion.txt"
Set-Content $logPath $installationPath -Encoding UTF8 -Force

$shortcutName = "Eclipse $packageVersion.lnk"
$eclipsePath = Join-Path $installationPath 'eclipse\eclipse.exe'

If ($multiUser) {
  $shortcutPath = Join-Path $([Environment]::GetFolderPath([System.Environment+SpecialFolder]::CommonDesktopDirectory)) $shortcutName
  $targetPath = Join-Path $installationPath 'eclipse.bat'
  $targetContent = @"
@echo off

set ECLIPSEDIR="%LOCALAPPDATA%\Eclipse.$packageVersion"

if not exist %ECLIPSEDIR% (
  mkdir %ECLIPSEDIR%
)

start "Eclipse" "$eclipsePath" -configuration %ECLIPSEDIR%

"@
  Set-Content $targetPath $targetContent -Encoding Ascii -Force
  Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $targetPath -IconLocation $eclipsePath
} Else {
  $shortcutPath = Join-Path $([Environment]::GetFolderPath([System.Environment+SpecialFolder]::CommonPrograms)) $shortcutName
  Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $eclipsePath -PinToTaskbar
}
tools\chocolateyUninstall.ps1
# Nothing to do here because uninstall is actually done by chocolateyBeforeModify.ps1 in order to handle upgrade properly.
tools\Get-PackageParameters.ps1
<#
.SYNOPSIS
    Parses parameters of the package

.EXAMPLE
    Get-PackageParameters "/Shortcut /InstallDir='C:\Program Files\xyz' /NoStartup" | set r
    if ($r.Shortcut) {... }
    Write-Host $r.InstallDir

.OUTPUTS
    [HashTable]
#>
function Get-PackageParameters {
    [CmdletBinding()]
    param(
       [string] $Parameters = $Env:ChocolateyPackageParameters,
       # Allows splatting with arguments that do not apply and future expansion. Do not use directly.
       [parameter(ValueFromRemainingArguments = $true)]
       [Object[]] $IgnoredArguments
    )

    $res = @{}

    $re = "\/([a-zA-Z0-9]+)(=[`"'].+?[`"']|[^ ]+)?"
    $results = $Parameters | Select-String $re -AllMatches | select -Expand Matches
    foreach ($m in $results) {
        if (!$m) { continue } # must because of posh 2.0 bug: https://github.com/chocolatey/chocolatey-coreteampackages/issues/465

        $a = $m.Value -split '='
        $opt = $a[0].Substring(1); $val = $a[1..100] -join '='
        if ($val -match '^(".+")|(''.+'')$') {$val = $val -replace '^.|.$'}
        $res[ $opt ] = if ($val) { $val } else { $true }
    }
    $res
}
tools\Uninstall-ChocolateyShortcut.ps1
function Uninstall-ChocolateyShortcut {
<#
.SYNOPSIS
Remove a shortcut
.DESCRIPTION
This deletes a shortcut, at the specified location.
.NOTES
If this errors, as it may if being run under the local SYSTEM account with
particular folder that SYSTEM doesn't have, it will display a warning instead
of failing a package installation.
.INPUTS
None
.OUTPUTS
None
.PARAMETER ShortcutFilePath
The full absolute path to where the shortcut is.
.PARAMETER UnpinFromTaskbar
OPTIONAL - Unpin the shortcut from the taskbar.
.PARAMETER IgnoredArguments
Allows splatting with arguments that do not apply. Do not use directly.
.EXAMPLE
>
# This will remove a shortcut at the location of "C:\test.lnk"
Uninstall-ChocolateyShortcut -ShortcutFilePath "C:\test.lnk"
.EXAMPLE
>
# Removes a notepad shortcut on the root of C:.
# Shortcut is also unpinned from taskbar.
Uninstall-ChocolateyShortcut `
  -ShortcutFilePath "C:\notepad.lnk" `
  -UnpinFromTaskbar
#>
  param(
    [parameter(Mandatory=$true, Position=0)][string] $shortcutFilePath,
    [parameter(Mandatory=$false)][switch] $UnpinFromTaskbar,
    [parameter(ValueFromRemainingArguments = $true)][Object[]] $ignoredArguments
  )

  Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters

  if (!$shortcutFilePath) {
    # shortcut file path could be null if someone is trying to get special
    # paths for LocalSystem (SYSTEM).
    Write-Warning "Unable to remove shortcut. `$shortcutFilePath can not be null."
    return
  }

  try {
    if ($UnpinFromTaskbar) {
      if (Test-Path $shortcutFilePath) {$pinverb = (New-Object -com "shell.application").namespace($(split-path -parent $shortcutFilePath)).Parsename($(split-path -leaf $shortcutFilePath)).verbs() | ?{$_.Name -eq 'Unpin from tas&kbar'}}
      if ($pinverb) {$pinverb.doit()}
    }

    Write-Debug "Removing Shortcut..."
    Remove-Item -Path "$shortcutFilePath" -ErrorAction SilentlyContinue -Force
    Write-Debug "Shortcut removed."
  }
  catch {
    Write-Warning "Unable to remove shortcut. Error captured was $($_.Exception.Message)."
  }
}

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
Eclipse 4.32.0 8285 Thursday, June 13, 2024 Approved
Eclipse 4.31.0 7571 Saturday, March 16, 2024 Approved
Eclipse 4.30.0.20240201 5095 Thursday, February 1, 2024 Approved
Eclipse 4.30.0.20240131 43 Wednesday, January 31, 2024 Approved
Eclipse 4.30.0 5426 Wednesday, December 6, 2023 Approved
Eclipse 4.29.0 8253 Wednesday, September 13, 2023 Approved
Eclipse 4.28.0 11790 Wednesday, June 14, 2023 Approved
Eclipse 4.27 12200 Wednesday, March 15, 2023 Approved
Eclipse 4.26 13862 Wednesday, December 7, 2022 Approved
Eclipse 4.25 23758 Wednesday, September 14, 2022 Approved
Eclipse 4.24 14899 Wednesday, June 15, 2022 Approved
Eclipse 4.23 5276 Wednesday, March 16, 2022 Approved
Eclipse 4.22 11929 Wednesday, December 8, 2021 Exempted
Eclipse 4.21 8868 Thursday, September 16, 2021 Approved
Eclipse 4.20 22041 Wednesday, June 16, 2021 Approved
Eclipse 4.19 11833 Wednesday, March 17, 2021 Approved
Eclipse 4.18 10258 Thursday, December 17, 2020 Approved
Eclipse 4.17 10347 Wednesday, September 16, 2020 Approved
Eclipse 4.16 43862 Wednesday, June 17, 2020 Approved
Eclipse 4.15 31658 Thursday, March 19, 2020 Approved
Eclipse 4.14 24692 Sunday, December 22, 2019 Approved
Eclipse 4.13 15642 Wednesday, September 18, 2019 Approved
Eclipse 4.12 11976 Sunday, June 23, 2019 Approved
Eclipse 4.11 991 Thursday, June 20, 2019 Approved
Eclipse 4.10 16349 Tuesday, December 25, 2018 Approved
Eclipse 4.9.0.20181212 1947 Wednesday, December 12, 2018 Approved
Eclipse 4.9 4490 Wednesday, November 21, 2018 Approved
Eclipse 4.8.0 9920 Thursday, June 28, 2018 Approved
Eclipse 4.7.3.1 354 Thursday, July 26, 2018 Approved
Eclipse 4.7.3 6377 Wednesday, March 21, 2018 Approved
Eclipse 4.7.2 5748 Wednesday, December 20, 2017 Approved
Eclipse 4.7.1.20171220 665 Wednesday, December 20, 2017 Approved
Eclipse 4.7.1.20171009 5149 Saturday, October 21, 2017 Approved
Eclipse 4.7.1 2240 Thursday, September 28, 2017 Approved
Eclipse 4.7 7558 Saturday, July 15, 2017 Approved
Eclipse 4.6.3 591 Saturday, July 15, 2017 Approved
Eclipse 4.5.2 801 Saturday, July 15, 2017 Approved
Eclipse 4.5.1 17283 Saturday, October 3, 2015 Approved
Eclipse 4.5 3242 Sunday, June 28, 2015 Approved
Eclipse 4.4.2 1807 Monday, April 13, 2015 Approved
Eclipse 4.4.1.20150117 1734 Sunday, January 18, 2015 Approved
Eclipse 4.4.1.20150103 959 Saturday, January 3, 2015 Approved
Eclipse 4.4.1.20150102 532 Friday, January 2, 2015 Approved
Eclipse 4.4.1 897 Wednesday, December 3, 2014 Approved

    • jdk8 (≥ 8.0.131)
Discussion for the Eclipse Package

Ground Rules:

  • This discussion is only about Eclipse and the Eclipse 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 Eclipse, 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