Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When i install eclipse helios in ubuntu

  1. Extract the eclipse.XX.YY.tar.gz using

    tar -zxvf eclipse.XX.YY.tar.gz
    
  2. Become root.

    sudo su
    
  3. Copy the extracted folder to /opt

    cp -r eclipse.XX.YY /opt
    
  4. Create a desktop file and place it into /usr/share/applications

    gedit /usr/share/applications/eclipse.desktop
    

    and 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
    
  5. Create a symlink in /usr/local/bin using

    cd /usr/local/bin
    ln -s /opt/eclipse/eclipse
    
  6. For eclipse icon to be displayed in dash, eclipse icon can be added as

    cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm
    

it give below error: bash: /usr/local/bin/eclipse: No such file or directory

share|improve this question
    
First do ls -ltr /opt/eclipse*/eclipse –  thefourtheye May 3 '13 at 12:20

1 Answer 1

I decompressed the whole eclipse package in my home folder and (Apart from skipping step 2) I added in Step 5 the sudo part:

sudo ln -s /opt/eclipse/eclipse

in my case it looked like this

sudo ln -s /home/cyrex/eclipse/eclipse

that's the only change I did and it worked. Note that my eclipse executable was in my home eclipse folder. eg: /home/cyrex/eclipse.

Also make sure you have the appropriate 32 or 64 bit version.

share|improve this answer
    
Strange, but I thought he did a 'sudo su' to become root before everything? –  owl May 3 '13 at 14:20
    
@owl I may have jumped over that step lol. Maybe because I just decompressed the whole thing on my home folder. Thanks for pointing it out. –  Luis Alvarado May 3 '13 at 14:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.