Install Eclipse on Ubuntu.

To install Eclipse on Ubuntu, follow these steps:

  1. Open the terminal window.
  2. Download the Eclipse installation file using the following command:
  3. Download eclipse-jee-2021-03-R-linux-gtk-x86_64.tar.gz from https://mirror.tuna.tsinghua.edu.cn/eclipse/technology/epp/downloads/release/2021-03/R/
  4. Unzip the downloaded file.
  5. Extract the files from the eclipse-jee-2021-03-R-linux-gtk-x86_64.tar.gz archive.
  6. Move the extracted folder to the appropriate location (e.g. /opt):
  7. Move the eclipse folder to /opt using superuser permissions.
  8. Create a symbolic link for the Eclipse executable file.
  9. Create a symbolic link for Eclipse in the /usr/local/bin directory.
  10. Create a desktop icon:
    a. Use the following command to create a new desktop file:
  11. Open the eclipse.desktop file in the /usr/share/applications directory using the nano text editor with elevated permissions.
  12. b. Copy the following content into the open file:
  13. [Desktop Entry]
    Name=Eclipse
    Type=Application
    Exec=/opt/eclipse/eclipse
    Terminal=false
    Icon=/opt/eclipse/icon.xpm
    Comment=Software for developing programs
    NoDisplay=false
    Categories=Development;IDE;
    Name[en]=Eclipse
  14. Save and close the file.
  15. Run Eclipse:
  16. solar eclipse

This completes the process of installing Eclipse on Ubuntu.

bannerAds