Tuesday, October 6, 2015

How to install Eclipse Luna (4.4) on Ubuntu

Installing Eclipse

  1. Download Eclipse from here;
  2. Extract it. You will end up having a folder named eclipse, copy it;



  3. Press CTRL + ALT + T to open Terminal;
  4. Type the command:
    sudo nautilus
    and then insert your password;



  5. Browse to /opt/ and paste the extracted folder there.


Creating a shortcut

  1. Press CTRL + ALT + T to open Terminal;
  2. Type:
    sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse
    sudo gedit /usr/share/applications/eclipse.desktop
  3. After these commands, gedit (ubuntu's default text editor) should have opened. Copy this and paste it there:
    [Desktop Entry]
    Name=Eclipse
    Type=Application
    Exec=/opt/eclipse/eclipse
    Terminal=false
    Icon=/opt/eclipse/icon.xpm
    Comment=Integrated Development Environment
    NoDisplay=false
    Categories=Development;IDE;
    Name[en]=Eclipse
    X-Desktop-File-Install-Version=0.22


  4. Save the text file and close gedit;
  5. This should have successfully created a shortcut. You may have to log off and back in for it to show up.


No comments:

Post a Comment