Tuesday, October 6, 2015

How to install Eclipse Mars 4.5 on Ubuntu

Installing Eclipse

  1. Download Eclipse from here
  2. Extract it and you will end up having a folder named eclipse


  3. Save it wherever you wish
    • I saved mine in ~/Programs/eclipse


Adding a launcher shortcut

  1. Press CTRL+ALT+T to open Terminal
  2. Run the following commands:

  3. sudo ln -s *eclipse path* /usr/bin/eclipse
    • make sure you replace *eclipse path* with the location where you previously saved eclipse - in my case it is ~/Programs/eclipse/eclipse

    sudo gedit /usr/share/applications/eclipse.desktop

  4. After these commands, gedit - Ubuntu's default text editor - should have opened
  5. Copy the following text and paste it there:

  6. [Desktop Entry]
    Name=Eclipse
    Type=Application
    Exec=/home/henrique/Programs/eclipse/eclipse
    Terminal=false
    Icon=/home/henrique/Programs/eclipse/icon.xpm
    Comment=Integrated Development Environment
    NoDisplay=false
    Categories=Development;IDE;
    Name[en]=Eclipse
    X-Desktop-File-Install-Version=0.22


    • You need to replace the Exec and Icon paths to the location where you previously saved eclipse



  7. Save the text file and close gedit
  8. A shortcut should have been successfully created


  9. You may have to log off and back in for it to show up

No comments:

Post a Comment