We all know that Ubuntu has its own app store.
However, it was not upto the expectations when I wanted to install Eclipse into it.
The app store had the basic package which did not meet my needs and someone had commented that the eclipse had not been updated since a long time on that store.
So, I went on to Google and found some 2 or 3 beautiful ways to install Eclipse into Ubuntu. I had to make some changes in their methods so as to refine the method. But mostly, its pretty cool stuff.
So, here we go!!
1. Install Java
If you are currently logged into Ubuntu click on this – Install OpenJDK. Alternatively, you can even open the App Store and search for OpenJDK.
2. Download Eclipse from the Eclipse website
I downloaded the Luna version of Eclipse that is meant for PHP.
You may check out your OS Type 32-bit or 64-bit by going to
System Settings -> Details -> Overview
3. Press Ctrl+Alt+T to open up the terminal and run the following command
cd /opt/ && sudo tar -zxvf ~/Downloads/eclipse-*.tar.gz
4. Now create a launcher shortcut for Eclipse.
gksudo gedit /usr/share/applications/eclipse.desktop
5. After running the command, a text editor will open. Paste the following into the text editor:
[Desktop Entry] Name=Eclipse 4 Type=Application Exec=/opt/eclipse/eclipse %f Terminal=false Icon=/opt/eclipse/icon.xpm Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse
6. You are done. Now open Unity Dash(Win Key/Super Key) and type Eclipse. Just a sidenote, I am using Utopic Unicorn with Luna.