- Download Eclipse from here
- Extract it. You will end up having a folder named eclipse, copy it;
- Press CTRL + ALT + T to open Terminal;
- Type the command: sudo nautilus
- Browse to /opt/ and paste the extracted folder there
CREATING A SHORTCUT
- Press CTRL + ALT + T to open Terminal;
- Type:
sudo gedit /usr/share/applications/eclipse.desktop
- After these commands, gedit (ubuntu's default text editor) should have opened. Copy this and paste it there:
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
X-Desktop-File-Install-Version=0.22