#### Eclipse

This is not the latest version of Eclipse available.

• 1
• 2
• 3

4.5.1 | Updated: 03 Oct 2015

Downloads:

237,147

Downloads of v 4.5.1:

17,131

Maintainer(s):

Software Author(s):

• Eclipse Foundation
• 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

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:

>

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

• 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

#### 3. Enter your internal repository url

(this should look similar to https://community.chocolatey.org/api/v2)

#### 4. Choose your deployment method:


choco upgrade eclipse -y --source="'STEP 3 URL'" [other options]


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="'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 eclipse installed win_chocolatey: name: eclipse state: present version: 4.5.1 source: STEP 3 URL   chocolatey_package 'eclipse' do action :install version '4.5.1' source 'STEP 3 URL' end   Chocolatey::Ensure-Package ( Name: eclipse, Version: 4.5.1, Source: STEP 3 URL );  Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.  cChocoPackageInstaller eclipse { Name = 'eclipse' Ensure = 'Present' Version = '4.5.1' Source = 'STEP 3 URL' }  Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.  package { 'eclipse': provider => 'chocolatey', ensure => '4.5.1', source => 'STEP 3 URL', }  Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.  salt '*' chocolatey.install eclipse version="4.5.1" source="STEP 3 URL"  #### 5. 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 ferventcoder on 28 Dec 2015. Description Eclipse IDE facilitates programming. One could develop Java code by creating it, compile it using javac and run it. Eclipse is able to validate code during development. E.g. if code cannot be compiled Eclipse will highlight the code that causes the issue. Eclipse supports native and custom shortcuts that could accelerate development. ### Suitable for developers of other languages than Java as well: Although the Eclipse Foundation highlights that this package has been designed for Java EE Developers as it is called Eclipse IDE for Java EE Developers. Developers of other languages could use this package as well by installing additional software. E.g. Python, Ruby, Groovy, Go, Clojure, Haskell, Scala developers could use Eclipse as an IDE as well. In addition to programming, it is possible to create statistical reports by installing BIRT. ### Optional installation commands: Issue -packageparameters '"/InstallLocation=C:\Path\to\installationdirectory"' to overwrite the default installation directory, e.g. choco install eclipse -packageparameters '"/InstallLocation=C:\temp"' extracts the package in C:\temp. ### Bugs and Features: Create an issue or comment to an existing one - https://github.com/030/chocolateyautomatic/issues tools\chocolateyInstall.ps1 $packageName = 'eclipse'
$packageVersion = '4.5.1'$32BitUrl = 'http://eclipse.mirror.triple-it.nl/technology/epp/downloads/release/mars/1/eclipse-jee-mars-1-win32.zip'
$64BitUrl = 'http://eclipse.mirror.triple-it.nl/technology/epp/downloads/release/mars/1/eclipse-jee-mars-1-win32-x86_64.zip'$global:installLocation = "C:\Program Files\Eclipse Foundation\$packageVersion"$checksum = 'fd0e5ceebc2a5b40274cb6146e78a4c3'
$checksumType = 'md5'$checksum64 = '2917778fd8604cd2ba58453c6cb7a6bc'
$checksumType64 = 'md5' if(!$PSScriptRoot){ $PSScriptRoot = Split-Path$MyInvocation.MyCommand.Path -Parent }
. "$PSScriptRoot\OverwriteParameters.ps1" OverwriteParameters Install-ChocolateyZipPackage "$packageName" "$32BitUrl" "$global:installLocation" "$64BitUrl" -checksum "$checksum" -checksumType "$checksumType" -checksum64 "$checksum64" -checksumType64 "$checksumType64"$eclipseExecutable = "$global:installLocation\eclipse\eclipse.exe" Install-ChocolateyDesktopLink "$eclipseExecutable"
Install-ChocolateyPinnedTaskBarItem "$eclipseExecutable" tools\chocolateyUninstall.ps1 $packageName = 'eclipse'

if(!$PSScriptRoot){$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent } . "$PSScriptRoot\Uninstall-ZipPackage.ps1"
. "$PSScriptRoot\Uninstall-DesktopLinkAndPinnedTaskBarItem.ps1" Uninstall-ZipPackage "$packageName"

Uninstall-DesktopLinkAndPinnedTaskBarItem "$packageName" Uninstall-DesktopLinkAndPinnedTaskBarItem "$packageName"
tools\OverwriteParameters.ps1
function OverwriteParameters {
$arguments = @{};$packageParameters = $env:chocolateyPackageParameters; if($packageParameters) {
Write-Host "PackageParameters: $packageParameters"$MATCH_PATTERN = "/([a-zA-Z]+)=(.*)"
$PARAMATER_NAME_INDEX = 1$VALUE_INDEX = 2

if($packageParameters -match$MATCH_PATTERN){
$results =$packageParameters | Select-String $MATCH_PATTERN -AllMatches$results.matches | % {
$arguments.Add($_.Groups[$PARAMATER_NAME_INDEX].Value.Trim(),$_.Groups[$VALUE_INDEX].Value.Trim()) } } else { Write-Host "Default packageParameters will be used" } if($arguments.ContainsKey("InstallLocation")) {
$global:installLocation =$arguments["InstallLocation"];

Write-Host "Value variable installLocation changed to $global:installLocation" } else { Write-Host "Default InstallLocation will be used" } } else { Write-Host "Package parameters will not be overwritten" } } tools\Uninstall-DesktopLinkAndPinnedTaskBarItem.ps1 function Uninstall-DesktopLinkAndPinnedTaskBarItem { param( [string]$packageName
)

$desktopLink="${env:USERPROFILE}\Desktop\${packageName}.exe.lnk"$pinnedLink="${env:USERPROFILE}\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\${packageName}.lnk"

if(!$packageName) { throw "Missing PackageName input parameter." return } If (Test-Path "$desktopLink") {
Remove-Item $desktopLink 'desktoplink removed' return } If (Test-Path "$pinnedLink") {
Remove-Item $pinnedLink 'pinnedlink removed' return } } tools\Uninstall-ZipPackage.ps1 function Uninstall-ZipPackage { param( [string]$packageName
)
if(!$packageName) { Write-ChocolateyFailure "Uninstall-ZipPackage" "Missing PackageName input parameter." return } ChildItem "$env:ChocolateyInstall\lib\${packageName}" -Recurse -Filter "${packageName}Install.zip.txt" |
ForEach-Object{ $installLocation = (Get-Content$_.FullName | Select-Object -First 1);
if (("$installLocation" -match "${packageName}|apache-tomcat") -and (Test-Path -Path "$installLocation")) { Write-Host "Uninstalling by removing directory$installLocation";
Remove-Item -Recurse -Force "$installLocation" } else { Write-ChocolateyFailure "Uninstall-ZipPackage" "Unable to delete directory:$installLocation"
}
}
}

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
Eclipse 4.18 9977 Thursday, December 17, 2020 Approved
Eclipse 4.17 10145 Wednesday, September 16, 2020 Approved
Eclipse 4.16 43332 Wednesday, June 17, 2020 Approved
Eclipse 4.15 26998 Thursday, March 19, 2020 Approved
Eclipse 4.14 24535 Sunday, December 22, 2019 Approved
Eclipse 4.13 15508 Wednesday, September 18, 2019 Approved
Eclipse 4.12 11752 Sunday, June 23, 2019 Approved
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