Install Eclipse Mars 4.5 on Fedora 24/23, CentOS/RHEL 7.2/6.8/5.11 - Comment Page: 2

This is guide, howto install latest Eclipse Mars.2 4.5.2 on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS 7.2/6.8/5.11 and Red Hat (RHEL) 7.2/6.8/5.11 and even with earlier versions. Latest working version on CentOS/RHEL 5.11 is Eclipse Luna 4.4.2. 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...

172 comments on “Install Eclipse Mars 4.5 on Fedora 24/23, CentOS/RHEL 7.2/6.8/5.11 - Comment Page: 2

1 2 3 4 7
    1. Launch failed.Binary not found !

    2. Hi rocky,

      What happens if you run following command:

      • 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

    3. Excellent ! Thank you

    4. 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.

    5. 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
    6. Very Good!

    7. 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.

    8. 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. :)

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

    10. 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… :)

    11. 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?

    12. 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
          -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.

1 2 3 4 7

Leave a Reply to JR Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.