There are numerous articles on the Internet where the mechanism to be followed to install Eclipse Juno in Ubuntu is well explained. This article is a reminder to myself on the commands that were used to install Eclipse Juno in my Ubuntu 12.04 machine.
# Download the Eclipse Juno package from http://www.eclipse.org/downloads/. # I usually prefer the 'Eclipse Classic' package out of habit but feel free to grab the one that fits # your requirement. # As an example, let me download the 64-bit Ubuntu tar.gz image. root@labs:~$ cd ~/Downloads root@labs:~$ wget http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz # Untar the package. Example: root@labs:~$ tar -zxvf eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz # The net result would be a folder named "eclipse". Lets copy it to /opt. root@labs:~$ sudo mv "eclipse" /opt # Lets add a link to the executable - "/opt/eclipse/eclipse" in /usr/bin for easier access. root@labs:~$ ln -s "/opt/eclipse/eclipse" /usr/bin/eclipse # Lets create a icon in the Unity Dashboard for convenience. # Reference: http://ksearch.wordpress.com/2012/10/25/how-do-i-install-sublime-text-2-in-ubuntu-12-04/ # Fire up a text editor. I am using vim here. But, any text editor would do. root@labs:~$ sudo vim /usr/share/applications/eclipse.desktop # Add the below content to /usr/share/applications/eclipse.desktop and save it. [Desktop Entry] Version=1.0 Name=Eclipse Exec=eclipse Terminal=false Icon=/opt/eclipse/icon.xpm Type=Application Categories=IDE;Development X-Ayatana-Desktop-Shortcuts=NewWindow [NewWindow Shortcut Group] Name=New Window Exec=eclipse TargetEnvironment=Unity # All done.
References:
- Borrowed the idea from: http://ksearch.wordpress.com/2012/10/25/how-do-i-install-sublime-text-2-in-ubuntu-12-04/
Pingback: Hotspotâ„¢ is in focus again -aka- Hacking Hotspotâ„¢ in Eclipse Juno under Ubuntu 12.04! | Mani's useful blogs
My previous recommendation was for Eclipse for C++ developers, here’s a recommendation to download Eclipse for Java developers:
wget http://mirrors.ibiblio.org/eclipse/technology/epp/downloads/release/juno/SR1/eclipse-jee-juno-SR1-linux-gtk-x86_64.tar.gz
Thanks again.
Thank you Mani.
H santhosh, thats for recording your steps very handy in making auto-scripts, which is what i’ll do, i would recommend replacing your wget command with the below:
wget http://mirrors.ibiblio.org/eclipse/technology/epp/downloads/release/juno/SR1/eclipse-cpp-juno-SR1-linux-gtk-x86_64.tar.gz works better, the remaining steps will need to be changed as well then.
@theNeomatrix369
Thanks for the help.
Typo:
“# Add the below content to /usr/share/applications/sublime.desktop and save it.”
I think that should be eclipse.desktop.
Thank you for pointing out the typo. Fixed it. Glad to know that the post helped you.
Thanks man! This is the best tutorial i have found on the internet for installing eclipse on ubuntu. Great help.
Exec=sublime
replaceon:
Exec=eclipse
//ubuntu 12.10
Corrected. Thank you.