Download latest Eclipse from the download section of the official website (http://www.eclipse.org/downloads/).
If you have a previous Eclipse version installed, just move it in a backup folder(Just in case anything goes terribly wrong, you can rollback to running good state).
Older Eclipse can be found in 2 paths:
After you have downloaded the correct package, extract the eclipse.XX.YY.tar.gz using
If you have a previous Eclipse version installed, just move it in a backup folder(Just in case anything goes terribly wrong, you can rollback to running good state).
Older Eclipse can be found in 2 paths:
/usr/lib/eclipse or
/opt/eclipse
$ sudo mv /usr/lib/eclipse /usr/lib/eclipse-old
/usr/lib/eclipseThe package will have the name like:
eclipse-standard-kepler-SR1-linux-gtk-x86_32.tar.gz
After you have downloaded the correct package, extract the eclipse.XX.YY.tar.gz using
Copy the extracted folder to /opttar -zxvf eclipse.XX.YY.tar.gz
cp -r eclipse.XX.YY /opt
Create a desktop file in the location /usr/share/applications and install it:gedit eclipse.desktop
Copy the following to the eclipse.desktop file.[Desktop Entry]
Name=Eclipse
Type=Application
Exec=eclipse
Terminal=false
Icon=eclipse
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
Give the desktop file permission to be executed, run:chmod +x eclipse.desktop
Run the following command to automatically install it in the unity:desktop-file-install eclipse.desktop
Create a symlink in /usr/local/bin usingcd /usr/local/bin
ln -s /opt/eclipse/eclips
For an eclipse icon to be displayed in dash, eclipse icon can be added ascp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm
Comments
Post a Comment