Currently the latest version Eclipse Juno 4.2 is not at available at Ubuntu software center. So if you wish to install the latest eclipse version, You have to install it manually, not a big issue. Here are the simplified steps to do this.
1. First check if java is already installed or not.
To check the java version, run the command below on your terminal window.
~$ java -version
if its not installed, get it installed from ubuntu software center..

2. Get the latest eclipse version ( Eclipse Juno 4.2) for Linux 32/64 bit as appropriate from the eclipse download center here.
Download the file and extract it at any temporary location, say to the Downloads folder at your home drive e.g /home//Downloads/
3. Then copy the eclipse folder from the location of the extraction to /opt folder
~/Downloads$ sudo mv /opt/
4. a-Now create a desktop shortcut file (eclipse.desktop) at /usr/share/applications
~/Downloads$ sudo gedit /usr/share/applications/eclipse.desktop
b-Enter the below text to this file
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Eclipse IDE
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
c-Create a symlink at /usr/local/bin
~/Downloads$ cd /usr/local/bin
/usr/local/bin$ sudo ln -s /opt/eclipse/eclipse
5. Thats all. Now you are ready to launch eclipse
/usr/local/bin$ /opt/eclipse/eclipse -clean &

Originical contribution by Kovid can be found here
1. First check if java is already installed or not.
To check the java version, run the command below on your terminal window.
~$ java -version
if its not installed, get it installed from ubuntu software center..
2. Get the latest eclipse version ( Eclipse Juno 4.2) for Linux 32/64 bit as appropriate from the eclipse download center here.
Download the file and extract it at any temporary location, say to the Downloads folder at your home drive e.g /home/
3. Then copy the eclipse folder from the location of the extraction to /opt folder
~/Downloads$ sudo mv /opt/
4. a-Now create a desktop shortcut file (eclipse.desktop) at /usr/share/applications
~/Downloads$ sudo gedit /usr/share/applications/eclipse.desktop
b-Enter the below text to this file
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Eclipse IDE
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
c-Create a symlink at /usr/local/bin
~/Downloads$ cd /usr/local/bin
/usr/local/bin$ sudo ln -s /opt/eclipse/eclipse
5. Thats all. Now you are ready to launch eclipse
/usr/local/bin$ /opt/eclipse/eclipse -clean &
Originical contribution by Kovid can be found here
No comments:
Post a Comment