Eclipse IDE for Embedded C/C++ Developers 2021 Silent Install (How-To Guide)

Eclipse IDE for Embedded C/C++ Developers includes managed cross build plug-ins (Arm and RISC-V) and debug plug-ins (SEGGER J-Link, OpenOCD, and QEMU), plus a number of templates to create ready to run blinky projects. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Eclipse IDE for Embedded C/C++ Developers from the command line using the ZIP file.

How to Install Eclipse IDE for Embedded C/C++ Developers 2021 Silently

Eclipse IDE for Embedded C/C++ Developers 2021-03 (4.19.0) Silent Install

  1. Navigate to:
  2. Click the Windows x86_x64 link to download the zip file
  3. Download the ZIP file to a folder created at (C:\Downloads\Eclipse)
  4. Navigate to: https://www.7-zip.org/download.html
  5. Click the Download link for the 64-bit x64 .exe
  6. Download the EXE to a folder created at (C:\Downloads)
  7. Navigate to: https://www.oracle.com/java/technologies/javase-jdk15-downloads.html
  8. Download the Windows x64 Installer
  9. Download the EXE to a folder created at (C:\Downloads)
  10. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  11. Navigate to the C:\Downloads folder
  12. Enter the following command: 7z1900-x64.exe /S
  13. Press Enter
  14. Enter the following command: jdk-15.0.2_windows-x64_bin.exe /s
  15. Press Enter
  16. Navigate to the C:\Downloads\Eclipse folder
  17. Enter the following command:
    • "%ProgramFiles%\7-Zip\7z.exe" x -o"%ProgramFiles%\Eclipse\embedcpp-2021-03" ".\eclipse-embedcpp-2021-03-R-win32-x86_64.zip"
  18. Press Enter

Create an Eclipse Start Menu Shortcut with Windows PowerShell

  • Open Notepad or your favorite text editor
  • Add the following lines:
$TargetFile = "$env:ProgramFiles\Eclipse\embedcpp-2021-03\eclipse\eclipse.exe"
$ShortcutFile = "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\Eclipse IDE for Embedded CPP Developers.lnk"
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
  • Save the file to C:\Downloads\Eclipse and name it: EclipseStartMenuSC.ps1
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads\Eclipse folder
  • Enter the following command:
    • Powershell.exe -ExecutionPolicy ByPass -File ".\EclipseStartMenuSC.ps1"

Create an Eclipse Desktop Shortcut with Windows PowerShell

  • Open Notepad or your favorite text editor
  • Add the following lines:
$TargetFile = "$env:ProgramFiles\Eclipse\embedcpp-2021-03\eclipse\eclipse.exe"
$ShortcutFile = "$env:Public\Desktop\Eclipse IDE for Embedded CPP Developers.lnk"
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
  • Save the file to C:\Downloads\Eclipse and name it: EclipseDesktopSC.ps1
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads\Eclipse folder
  • Enter the following command:
    • Powershell.exe -ExecutionPolicy ByPass -File ".\EclipseDesktopSC.ps1"

Software Title:Eclipse IDE for Embedded C/C++ Developers
Vendor:Eclipse Foundation, Inc.
Version:2021-03 (4.19.0)
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch (Step 1)7z1900-x64.exe /S
Silent Install Switch (Step 2)jdk-15.0.2_windows-x64_bin.exe /s
Silent Install Switch (Step 3)"%ProgramFiles%\7-Zip\7z.exe" x -o"%ProgramFiles%\Eclipse\embedcpp-2021-03" ".\eclipse-embedcpp-2021-03-R-win32-x86_64.zip"
Silent Uninstall Switch:RMDIR /Q /S "%ProgramFiles%\Eclipse\embedcpp-2021-03"
Download Link:https://www.eclipse.org/downloads/packages/release/2021-03/r/eclipse-ide-embedded-cc-developers
PowerShell Script:https://silentinstallhq.com/eclipse-ide-for-embedded-c-c-developers-2021-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website.


How to Uninstall Eclipse IDE for Embedded C/C++ Developers Silently

Check out the Eclipse IDE for Embedded C/C++ Developers 2021 Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following set of commands:

Eclipse IDE for Embedded C/C++ Developers 2021-03 (4.19.0) Silent Uninstall

TASKKILL /F /IM eclipse.exe
RMDIR /Q /S "%ProgramFiles%\Eclipse\embedcpp-2021-03"
DEL "%PUBLIC%\Desktop\Eclipse IDE for Embedded CPP Developers.lnk"
DEL "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Eclipse IDE for Embedded CPP Developers.lnk"

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.