Install Eclipse SDK 4.2.2 (Juno) on Fedora 18/17, CentOS/RHEL 6.4/5.9

This is guide, howto install latest Eclipse SDK 4.2.2 (Juno) on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 18/17/16/15/14/13/12, CentOS 6.4/6.3/6.2/6.1/6/5.9 and Red Hat (RHEL) 6.4/6.3/6.2/6.1/6/5.9 and even with earlier versions.

Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system. It is written primarily in Java and can be used to develop applications in Java and, by means of various plug-ins, other languages including C, C++, COBOL, Python, Perl, PHP, Scala and Ruby (including Ruby on Rails framework).

Install Eclipse SDK 4.2.2 (Juno) on Fedora 18/17, CentOS/Red Hat (RHEL) 6.4/5.9

1. Install Sun/Oracle Java JDK 7 or Java JDK 6

Install Sun/Oracle Java JDK 7 on Fedora, CentOS, Red Hat (RHEL)
Install Sun/Oracle Java JDK 6 on Fedora, CentOS, Red Hat (RHEL)

2. Download Eclipse SDK 4.2.2 (Juno)

Download suitable version from www.eclipse.org/downloads. This guide uses Eclipse Classic 4.2.2 version. Another popular versions are Eclipse IDE for Java EE Developers, Eclipse IDE for Java Developers and Eclipse for PHP Developers. Select also 32-bit or 64-bit version depending on your system.

3. Change root user

su -
## OR ##
sudo -i

4. Extract Eclipse package (example to /opt directory)

## x86 - 32-bit ##
tar -xvzf eclipse-SDK-4.2.2-linux-gtk.tar.gz -C /opt
 
## x86_64 - 64-bit ##
tar -xvzf eclipse-SDK-4.2.2-linux-gtk-x86_64.tar.gz -C /opt

5. Add read permissions to all files

chmod -R +r /opt/eclipse

6. Create Eclipse executable on /usr/bin path

touch /usr/bin/eclipse
chmod 755 /usr/bin/eclipse
 
## Open eclipse file with your favourite editor ##
nano -w /usr/bin/eclipse
 
## Paste following content to file ##
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
 
$ECLIPSE_HOME/eclipse $*

7. Create Gnome desktop launcher

## Create following file, with our favourite editor ##
/usr/share/applications/eclipse.desktop
 
## Add following content to file and save ##
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 4.2.2
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

8. Start Eclipse 4.2.2

From command line use eclipse command

eclipse

From Desktop menu Gnome 3 Eclipse 4.2.2

From Desktop menu Gnome 2 and Eclipse 3.6 (Helios)

9. Eclipse 3.6 screenshots, running (and starting) on Fedora 13 32-bit and CentOS 5.5 64-bit

Eclipse loading

Eclipse 3.6 running on Fedora 13 32-bit

Eclipse 3.6 running on CentOS 5.5 64-bit

Troubleshooting

If you get something like following errors:

Failed to load the JNI shared library /usr/java/jdk1.6.0_21/jre/bin/../lib/i386/client/libjvm.so
Or
/usr/java/jdk1.6.0_21/jre/bin/../lib/i386/client/libjvm.so: cannot enable executable stack as shared object requires: Permission denied

Then do following:

chcon -t execmem_exec_t '/opt/eclipse/eclipse'

and try again.

Follow If Not True Then False Updates!

137 Comments

  1. Very good, thanks!

  2. Great tutorial! thx for the info! Work like a charm on Fedora 13 64-bit

  3. Very good, thanks!

  4. Thanks JR! Excellent guide!

  5. Thank you! It was very useful!!

  6. I did this installation, which is great. However now I need to do a clean removal of this eclipse installation. How can I properly remove the reference from the usr/bin/ path?

    • Hi Andres,

      If you installed Eclipse using this guide exactly, then removal is very simple, just remove following files and directory (as root):

      ## Remove Eclipse launcher ##
      rm /usr/share/applications/eclipse.desktop
       
      ## Remove Eclipse executable ##
      rm /usr/bin/eclipse
       
      ## Remove Eclipse Path ##
      rm -rf /opt/eclipse
    • Hi!

      The installation procedure for eclipse which is published by is awsom. It made it so easy to install eclipse on llinux for me. It is really helpfull. Now the eclipse is installed can you please spare sometime to write a few tutorials for debugging C++ code on eclipse (In case you already have written some tutorials) kindly let me know of them.

      Regards

      Waqar

  7. In case the previous instruction does not work .. here’s another suggestion to correct the “Failed to load the JNI shared library /usr/java/jdk1.6.0_21/jre/bin/../lib/i386/client/libjvm.so” error:

    chcon -t texrel_shlib_t ‘/usr/java/jdk1.6.0_21/jre/lib/i386/client/libjvm.so’

  8. Thanks for chcon hint. Solved my problem

  9. Thanks for that, helped me sort through the process.

  10. very – very good. i was waited next tutorial’s

  11. Nice write-up. Thanks!

  12. Very Good Tutorial. Just one comment, sometimes after installing on CentOS when you get
    Failed to load the JNI shared library /usr/java/jdk1.6.0_21/jre/bin/../lib/i386/client/libjvm.so error, you can also resolve it by updating eclipse.ini file with the correct java path.

  13. Thanks a lot!!!

  14. Thanks so much!

    I’ve been looking for this for 3 days!

  15. Launch failed.Binary not found !

  16. help me. thank so

  17. Hi rocky,

    What happens if you run following command:

    /opt/eclipse/eclipse
    • thank so much.
      when i run command /opt/clipse/eclipse then eclipse run normal.
      but when i run a C/C++ project –> Launch failed.Binary not found !

      • How do you try to “run” C/C++ project? Do you mean compile and run?

        • eclipse is only the ide, you have to install build tools needed for this (like gcc, g++, make, autoconf etc.)

          Basic for compiling are: gcc and cpp which will pull needed dependencies,

          but I recomend do a yum groupinstall “Development tools” (I think this is english, try a yum grouplist to be sure)

          • thank so. i installed :D

  18. Excellent ! Thank you

  19. some notes on this:

    - i created a group eclipse and added all users that use eclipse to that group
    - i chmod g+swr on all folders of eclipse instalation
    - in desktop shortcat I used only name eclipse, not hole path, so it uses the current theme icon (lot nicer)

    now any trusted user in group eclipse can run it and update it.

    • Hi Madalin,

      Thanks for excellent notes! Really like your way to create eclipse group.

  20. additional notes:

    - add update site (official) http://download.eclipse.org/releases/helios
    - install any plugin you need (like pdt, wtc, C++ etc.)

  21. I am getting that pesky error, driving me batty. Yet when I try the workaround, I get:

    chcon: failed to change context of /opt/eclipse/eclipse to user_u:object_r:execmem_exec_t: Invalid argument

    • Hi rkd,

      Did you followed install guide exactly? Did you run this command as root user?

      Could you post full copy from your console (command and output, or even screenshot), when you run this command.

      And please post output of following command:

      ls -la /opt/eclipse
  22. Very Good!

  23. Oh man, this is so much easier than wrestling with the add/remove software GUI in Fedora 14.

    Thanks a bunch! I’m new to Linux and your tutorials have gotten me unstuck a number of times.

  24. Hi,
    Thank you for this tutorial, but I have a problem, in fact when I try to launch eclipse from “application->programming->eclipse” I have the following message:
    Could not launch eclipse
    Failed to execute child process “eclipse” (no such file or directory)

    I hope you’ll be able to help me and thank you again.

    • You will get “No such file or directory” when:
      1) Your java is 64 bit (check java -version)
      2) Your eclipse is 32 bit (check your download)

      To fix – download the “x86-64″ version of eclipse.

      • Hi Tim,

        Yep, that’s the way it is. :)

  25. Thank’s
    I’m using on fedora 15 and I was having problems with Eclipse helios.

  26. Why not just install Eclipse 3.6.2 on Fedora 15 with yum?

    #yum install eclipse-jdt

    • Hi Jacob,

      You could install it with yum and it’s very good method install Eclipse 3.6.2 on Fedora 15 currently, but if you are wondering why this guide exists, then think following things:
      - This guide is universal method and you could actually use this installation guide almost every Linux system with Desktop and Java installed.
      - You could run and control multiple versions of Eclipse at the same time. You could example run 3.5, 3.6 and 3.7 same time. With (default) yum installation this is not possible.
      - You could easily move to next version when it’s released, just install it another location, test it and later replace old installation.
      - You get always latest Eclipse version.
      - You could run yum update without fear that you mess your Eclipse installation if there is update available.

      And yes I see your point, but I have my own reasons why I want to install Eclipse this way… :)

  27. Thank you for this tutorial. I have one question though. Using KDE, are there any changes that should be made in the desktop launcher? You specified gnome, so I just wa.nted to ask. Thanks

    • Hi Steve,

      I think KDE should also launch gnome launchers, so try it… :) You might have to log out and log back in…do you get it working?

  28. Worked great thanks!

  29. Hi

    Thanks for the tutorial.
    I installed eclipse in fedora 13 using the guide exactly.
    but when trying to run eclipse,i have the following message
    /opt/eclipse/eclipse:No such file or directory.

    • Hi ushap,

      Could you post output of following commands:

      ls -la /opt
       
      ## AND ##
      ls -la /opt/eclipse
      • Hi

        This is the output:

        ls -la /opt
        drwxrwxr-x. 8 507 1109 4096 Sep 26 00:10 eclipse
        drwxr-xr-x. 9 root root 4096 Jun 15 2007 jdk1.6.0_02
        -rwxr-xr-x. 1 root root 76989270 Aug 16 20:12 jdk1.6.0_02.tgz

        ls -la /opt/eclipse
        drwxrwxr-x. 8 507 1109 4096 Sep 26 00:10 .
        drwxr-xr-x. 20 root root 4096 Sep 25 16:18 ..
        drwxrwxr-x. 2 507 1109 4096 Jun 14 05:37 about_files
        -rw-rw-r–. 1 507 1109 18909 Jun 14 03:48 about.html
        -rw-rw-r–. 1 507 1109 95367 Jun 14 05:37 artifacts.xml
        drwxrwxr-x. 5 507 1109 4096 Jun 14 05:37 configuration
        drwxrwxr-x. 2 507 1109 4096 Jun 14 05:37 dropins
        -rw-rw-r–. 1 507 1109 9022 Dec 11 2006 icon.xpm
        -rwxr-xr-x. 1 507 1109 266168 Dec 11 2006 libcairo-swt.so
        -rw-rw-r–. 1 507 1109 8951 Feb 5 2011 notice.html
        drwxrwxr-x. 4 507 1109 4096 Jun 14 05:36 p2
        drwxrwxr-x. 3 507 1109 4096 Jun 14 05:37 plugins
        drwxrwxr-x. 2 507 1109 4096 Jun 14 05:37 readme

        • You’ll be missing some files /opt/eclipse directory. You don’t have eclipse binary file and that’s why it’s not working.

          Was the Eclipse tar package extraction successful? You could check your Eclipse tar package content is eclipse binary also missing there and if yes then download it again and try to install it again.

          And please let me know do get it working? :)

          • Hi,

            I will install once again and let you know.
            Thank You.

          • Hi,

            I downloaded and installed once again.Its working now.
            Thanks.

            • Excellent! :)

  30. To Jacob who was wondering why to do this instead of yum. I think the main reason, in addition to the multiple instances referred to above, is that for people on some versions of Linux, the repositories are very limited in terms of version number. You might critically need a function that only exists in 3.7, and can’t be found in 3.2. On Centos, the only version available is 3.2.1. This way I can get version 3.7.

  31. To be clear, on this instruction:

    ## Open eclipse file with your favourite editor ##
    nano -w /usr/bin/eclipse

    ## Paste following content to file ##
    #!/bin/sh
    export ECLIPSE_HOME=”/opt/eclipse”

    $ECLIPSE_HOME/eclipse $*

    The file nano -w /usr/bin/eclipse is mostly binary from what I can tell. You want us anyhow to past the following into that file?
    #!/bin/sh
    export ECLIPSE_HOME=”/opt/eclipse”

    and the third line as well after a carriage return? I wasn’t 100% sure if the 3rd line was just for Bash or for the file, I put it into the file, but the process isn’t working for me. When I start Eclipse it just thinks for a while and then does nothing.

  32. Got it to work. I don’t know why but touch creates a file with 82 binary lines. I ran:

    rm eclipse
    echo “hey” >> eclipse
    nano eclipse [then delete 'hey' and add the lines you put above]
    chmod 755 /usr/bin/eclipse

    then all is good! I have no idea what that other junk was or what the deal with it is.

    • Hi anon,

      This sounds very strange.

      You could also use just nano or any editor to create empty file. :)

  33. Your are a hero man! A HERO

  34. Great tutorial…thanx a ton….
    but want to point out one thing that i got confused whether “$ECLIPSE_HOME /eclipse $*” had to be included in the text file or not..but later figured out that it has to be included…..

    • Hi Harshit,

      Nice to hear that you got it working! :)

      And yes I see your point and yes full /usr/bin/eclipse file content should be:

      #!/bin/sh
      export ECLIPSE_HOME="/opt/eclipse"
       
      $ECLIPSE_HOME/eclipse $*
  35. Hello Friends,

    Seems like installing eclipse on RedHat 5 64bit remains a dream for me. I am struggling it from long time. This post gave me some hope. I follow the steps and could able to install it on RHEL5. Here are the list of issues after that
    ISSUE 1: No desktop shortcu
    ISSUE 2: Not able to launch from console
    ISSUE 3: Application->programming->Eclipse, no UI shows up after a long wait, seems it crashed here.

    I am using a VMWare virutal machine.

    Any help will be appreciated.

    Thanks
    Anshul
    [mail removed]

    • on launching from console error reported is though running as “root”

      /usr/bin/eclipse: line 5: /opt/eclipse/eclipse: Permission denied

      and, ls -la /opt/eclipse

      [root@susanth-cobia-t-165204024116 eclipse]# ls -la
      total 704
      dr–r–r– 9 100 users 4096 Sep 16 07:27 .
      drwxr-xr-x 3 root root 4096 Oct 12 14:42 ..
      dr–r–r– 2 100 users 4096 Sep 16 07:26 about_files
      -r–r–r– 1 100 users 18909 Sep 9 23:51 about.html
      -r–r–r– 1 100 users 87914 Sep 16 07:26 artifacts.xml
      dr–r–r– 5 100 users 4096 Sep 16 07:27 configuration
      dr–r–r– 2 100 users 4096 Sep 16 07:27 dropins
      -r–r–r– 1 100 users 71023 Mar 22 2011 eclipse
      -r–r–r– 1 100 users 410 Sep 16 07:27 eclipse.ini
      -r–r–r– 1 100 users 59 Jul 29 2010 .eclipseproduct
      -r–r–r– 1 100 users 16536 Feb 26 2005 epl-v10.html
      dr–r–r– 46 100 users 4096 Sep 16 07:26 features
      -r–r–r– 1 100 users 9022 Dec 11 2006 icon.xpm
      -r–r–r– 1 100 users 335360 Dec 11 2006 libcairo-swt.so
      -r–r–r– 1 100 users 8951 Feb 5 2011 notice.html
      dr–r–r– 5 100 users 4096 Sep 16 07:26 p2
      dr–r–r– 10 100 users 28672 Sep 16 07:26 plugins
      dr–r–r– 2 100 users 4096 Sep 16 07:26 readme

      • Hi Anshul,

        Try to following (as root):

        chmod 755 /opt/eclipse/eclipse

        And then try to start with following command as normal user:

        /opt/eclipse/eclipse
  36. Thank you very much. I very appreciate it.

  37. Hi
    I installed as per the instructions mentioned on your site.Everything installed fine.But when i run eclipse,even my hello world program doesn’t run.The console is always showing
    No consoles to display at this time.

    I had also installed Netbeans which works absolutely fine.What could be the issue?

    • Hi Nipun,

      If it’s not working automatically then try following:

      1. Click your project right mouse button
      2. Select Run As > Run Configurations…
      3. Create new run configuration for your application
      4. Check Common tab and Standard Input and Output section.
      5. Enable Allocate console (necessary for input)

      Then another way is start eclipse from command line and check do get any errors when you try to run eclipse?

  38. My Goodness, I spent hours and hours trying to edit with gedit and Vim…. So stupid, knowing they were binary anyway….
    Thanx a whole lot man, You’re an angel from Above

  39. Thanks! Really Helpful.

  40. i didn´t get Eclipse launcher in my desktop. i created the file eclipse.desktop using nano editor and copied the configuration and pressed Ctrl+O and then exited.

    For me other modes are working like thru command line; Applications->Programming->Eclipse.

    • Hi hajo,

      You shouldn’t get launcher on your desktop, this means just desktop launcher on your Applications->Programming->Eclipse menu. If you want launcher on desktop then you have to click menu icon with right button and select “add launcher to desktop” or something like that. This is not even possible on Gnome 3 (3.0 and 3.2), but if you have some other desktop or example Gnome 2 then you can add launcher to desktop.

      • hi JR,
        thanks great blog and nice support.
        It worked.

  41. carry thanks !! you helped me

  42. after doing the above, I get:

    error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

    any ideas?

    • Hi Winston,

      So, what command you are running when you get this error message?

      Could you post output of following command:

      java -version
  43. Very helpful. Thanks!

  44. A Java Runtime Environment (JRE) or Java Development Kit (JDK)
    must be available in order to run Eclipse. No Java virtual machine
    was found after searching the following locations:
    /opt/eclipse/jre/bin/java
    java in your current PATH

    when i gave the command eclipse i have got the reply above plz help me

    • Hi deepthi,

      Do you have Java installed?

      Could you post output of following command:

      java -version
  45. Why aren’t you just running this on Fedora 16?:

    yum groupinstall “Fedora Eclipse”

    is there a problem that occurs if you install the Eclipse group ?

    • Hi Mark,

      Check this question and following answer. ;)

      So feel free to install Eclipse with yum, it should work normally. :)

  46. After executing all the steps and running command:
    eclipse -clean
    it gives:
    /usr/bin/eclipse: 4: /opt/eclipse/eclipse: not found

    please respond to it asap

  47. these are the ls -l of /usr/bin:
    -rwxrwxrwx 1 root root 71 2012-02-21 19:43 eclipse

  48. Hi nikhil,

    Could you post output of follwoing commands:

    ls -la /opt/eclipse
     
    cat /usr/bin/eclipse
    • MY folder is in: /home/nikhil/opt

      First output:
      ls: cannot access /opt/eclipse: No such file or directory

      second output:
      export MOZILLA_FIVE_HOME=”/usr/lib/mozilla/”
      export ECLIPSE_HOME=”$HOME/opt/eclipse”

      $ECLIPSE_HOME/eclipse $*

      • Okay, please post then output of following commands:

        ls -la /home/nikhil/opt
         
        ls -la /home/nikhil/opt/eclipse
        • 1.
          nikhil@ubuntu:~$ ls -la /home/nikhil/opt
          total 5
          drwxrwxr-x 3 nikhil nikhil 1024 2012-02-21 22:08 .
          drwxr-xr-x 41 nikhil nikhil 3072 2012-02-27 22:27 ..
          drwxr-xr-x 9 507 1109 1024 2012-02-21 21:48 eclipse
          2.
          nikhil@ubuntu:~$ ls -la /home/nikhil/opt/eclipse
          total 524
          drwxr-xr-x 9 507 1109 1024 2012-02-21 21:48 .
          drwxrwxr-x 3 nikhil nikhil 1024 2012-02-21 22:08 ..
          drwxr-xr-x 2 507 1109 1024 2011-09-10 02:06 about_files
          -rwxr-xr-x 1 507 1109 18909 2011-09-09 23:51 about.html
          -rwxr-xr-x 1 507 1109 95731 2011-09-10 02:05 artifacts.xml
          drwxr-xr-x 5 507 1109 1024 2011-09-10 02:06 configuration
          drwxr-xr-x 2 507 1109 1024 2011-09-10 02:06 dropins
          -rwxr-xr-x 1 507 1109 62814 2011-03-22 01:35 eclipse
          -rwxr-xr-x 1 507 1109 276 2012-02-21 21:48 eclipse.ini
          -rwxr-xr-x 1 nikhil nikhil 277 2012-02-21 21:48 eclipse.ini~
          -rwxr-xr-x 1 507 1109 59 2010-07-29 20:06 .eclipseproduct
          -rwxr-xr-x 1 507 1109 16536 2005-02-26 05:23 epl-v10.html
          drwxr-xr-x 23 507 1109 4096 2011-09-10 02:05 features
          -rwxr-xr-x 1 507 1109 9022 2006-12-11 21:34 icon.xpm
          -rwxr-xr-x 1 507 1109 266168 2006-12-11 21:34 libcairo-swt.so
          -rwxr-xr-x 1 507 1109 8951 2011-02-05 02:09 notice.html
          drwxr-xr-x 4 507 1109 1024 2011-09-10 02:04 p2
          drwxr-xr-x 15 507 1109 34816 2011-09-10 02:05 plugins
          drwxr-xr-x 2 507 1109 1024 2011-09-10 02:06 readme

          • Okay, first try to start Eclipse with following command:

            /home/nikhil/opt/eclipse/eclipse

            Is it working then?

            • nikhil@ubuntu:~$ /home/nikhil/opt/eclipse/eclipse
              bash: /home/nikhil/opt/eclipse/eclipse: No such file or directory

              • I don’t understand, how this is possible, if your ls -la /home/nikhil/opt/eclipse output contains eclipse file?

                Could you try to do following and post ls command output:

                chown -R nikhil: /home/nikhil/opt/eclipse
                 
                ls -la /home/nikhil/opt/eclipse/eclipse
                • These operations I performed:
                  nikhil@ubuntu:~$ sudo chown -R nikhil: /home/nikhil/opt/eclipse
                  [sudo] password for nikhil:
                  nikhil@ubuntu:~$ ls -la /home/nikhil/opt/eclipse/eclipse
                  -rwxr-xr-x 1 nikhil nikhil 62814 2011-03-22 01:35 /home/nikhil/opt/eclipse/eclipse
                  nikhil@ubuntu:~$ /home/nikhil/opt/eclipse/eclipse
                  bash: /home/nikhil/opt/eclipse/eclipse: No such file or directory

                  The same thing is going over my head. I just don’t know why it is happening. I tried the whole procedure of installation 4-5 times after removing all files from my system. But it gives the same output.
                  Previously I installed eclipe 3.7.0 with Ubuntu Software centre. It was working fine but was not downloading adt packages. The problem was as stated in this webpage: http://stackoverflow.com/questions/9083703/installing-new-software-to-eclipse
                  So after unstalling it, it tried to install eclipse 3.7.1 by extraction process as given in this webpage. Then again this problem occur:

                  bash: /home/nikhil/opt/eclipse/eclipse: No such file or directory

                • These operations I performed:
                  nikhil@ubuntu:~$ sudo chown -R nikhil: /home/nikhil/opt/eclipse
                  [sudo] password for nikhil:
                  nikhil@ubuntu:~$ ls -la /home/nikhil/opt/eclipse/eclipse
                  -rwxr-xr-x 1 nikhil nikhil 62814 2011-03-22 01:35 /home/nikhil/opt/eclipse/eclipse
                  nikhil@ubuntu:~$ /home/nikhil/opt/eclipse/eclipse
                  bash: /home/nikhil/opt/eclipse/eclipse: No such file or directory

                  The same thing is going over my head. I just don’t know why it is happening. I tried the whole procedure of installation 4-5 times after removing all files from my system. But it gives the same output.
                  Previously I installed eclipe 3.7.0 with Ubuntu Software centre. It was working fine but was not downloading adt packages. The problem was as stated in this webpage: http://stackoverflow.com/questions/9083703/installing-new-software-to-eclipse
                  So after unstalling it, it tried to install eclipse 3.7.1 by extraction process as given in this webpage. Then again this problem occur:

                  bash: /home/nikhil/opt/eclipse/eclipse: No such file or directoryThese operations I performed:
                  nikhil@ubuntu:~$ sudo chown -R nikhil: /home/nikhil/opt/eclipse
                  [sudo] password for nikhil:
                  nikhil@ubuntu:~$ ls -la /home/nikhil/opt/eclipse/eclipse
                  -rwxr-xr-x 1 nikhil nikhil 62814 2011-03-22 01:35 /home/nikhil/opt/eclipse/eclipse
                  nikhil@ubuntu:~$ /home/nikhil/opt/eclipse/eclipse
                  bash: /home/nikhil/opt/eclipse/eclipse: No such file or directory

                  The same thing is going over my head. I just don’t know why it is happening. I tried the whole procedure of installation 4-5 times after removing all files from my system. But it gives the same output.
                  Previously I installed eclipe 3.7.0 with Ubuntu Software centre. It was working fine but was not downloading adt packages. The problem was as stated in this webpage: http://stackoverflow.com/questions/9083703/installing-new-software-to-eclipse
                  So after unstalling it, it tried to install eclipse 3.7.1 by extraction process as given in this webpage. Then again this problem occur:

                  bash: /home/nikhil/opt/eclipse/eclipse: No such file or directory

                  btw thanks for having patience with me.

                  • This is really interesting case, because this sounds totally impossible. Output of ls command shows, that the /home/nikhil/opt/eclipse/eclipse file exists, but when you try to run it, your get error No such file or directory.

                    Could you try to download Eclipse package again and try to install it some other directory?

  49. Fantastic. Just cut ‘n pasted right down the list, runs great in Debian Squeeze (we have Eclipse 3.5 in the repositories). No muss, no fuss. Thanks very much.

    • Hi Mike,

      Excellent to hear, that this works also in Debian! :D

      This really is universal Eclipse install method, which work on any Linux system, if you just have Java installed already. And yes, this also allows you to run multiple Eclipse versions simultaneously.

  50. Hi, great article.. I have been trying to install anjuta IDE for GTK because i wanted to compile a c project which has GTK GUI. But it gave dependency errors, after trying too much i was unable to install it, so i turned to eclipse.
    Could it be possible to compile c/GTK project in eclipse?, if yes how to install GTK package in eclipse I have Redhat Linux 6.0 64 bit version, waiting for your positive reply

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks/Pingbacks

  1. Android SDK and Eclipse ADT on Fedora 13, CentOS 5.5, RHEL 5.5/6 | If Not True Then False - [...] Your Development Computer and Install Required softwares1.1 Install Sun/Oracle Java JDK/JRE1.2 Install Eclipse SDK 3.6 (Helios)2. Install Andoid SDK2.1 ...