Install Eclipse on Ubuntu.
To install Eclipse on Ubuntu, follow these steps:
- Open the terminal window.
- Download the Eclipse installation file using the following command:
- 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/
- Unzip the downloaded file.
- Extract the files from the eclipse-jee-2021-03-R-linux-gtk-x86_64.tar.gz archive.
- Move the extracted folder to the appropriate location (e.g. /opt):
- Move the eclipse folder to /opt using superuser permissions.
- Create a symbolic link for the Eclipse executable file.
- Create a symbolic link for Eclipse in the /usr/local/bin directory.
- Create a desktop icon:
a. Use the following command to create a new desktop file: - Open the eclipse.desktop file in the /usr/share/applications directory using the nano text editor with elevated permissions.
- b. Copy the following content into the open file:
- [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 - Save and close the file.
- Run Eclipse:
- solar eclipse
This completes the process of installing Eclipse on Ubuntu.