Installing Eclipse
- Download Eclipse from here
- Extract it and you will end up having a folder named eclipse
- Save it wherever you wish
- I saved mine in ~/Programs/eclipse
Adding a launcher shortcut
- Press CTRL+ALT+T to open Terminal
- Run the following commands:
- make sure you replace *eclipse path* with the location where you previously saved eclipse - in my case it is ~/Programs/eclipse/eclipse
- After these commands, gedit - Ubuntu's default text editor - should have opened
- Copy the following text and paste it there:
- You need to replace the Exec and Icon paths to the location where you previously saved eclipse
- Save the text file and close gedit
- A shortcut should have been successfully created
- You may have to log off and back in for it to show up
sudo ln -s *eclipse path* /usr/bin/eclipse
sudo gedit /usr/share/applications/eclipse.desktop
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/home/henrique/Programs/eclipse/eclipse
Terminal=false
Icon=/home/henrique/Programs/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
X-Desktop-File-Install-Version=0.22