How to install Eclipse 4.2 on Ubuntu 12.04
Since the Eclipse packages in the Ubuntu repositories are out of date, if we want to install latest releases, we are going to have to do it manually. You can just download the tar.gz file fromeclipse.org.
- Download Eclipse. I got
eclipse-jee-juno-SR1-linux-gtk.tar.gz - Extract it by executing a command line
tar -xzf eclipse-jee-juno-SR1-linux-gtk.tar.gzOr with Archive Manager extraction. - Move extracted eclipse folder to
/opt/ foldermv eclipse /opt/ sudo chown -R root:root /opt/eclipse sudo chmod -R +r /opt/eclipse - Create an eclipse executable in your user path
sudo touch /usr/bin/eclipse sudo chmod 755 /usr/bin/eclipseCreate a file namedeclipsein/usr/bin/with your preferred editor (nano,gedit,vi...)Copy this into it#!/bin/sh export ECLIPSE_HOME="/opt/eclipse" $ECLIPSE_HOME/eclipse $*And save the file - Create a Gnome menu itemCreate a file named
eclipse.desktopin/usr/share/applications/with your preferred editor (nano,gedit,vi...)Copy this into it[Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=eclipse Icon=/opt/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development; StartupNotify=trueAnd save the file - Launch Eclipse
/opt/eclipse/eclipse -clean & - Now you can Lock Eclipse to the launcher bar by clicking right button on Lock to Laucher
No comments:
Post a Comment