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

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: 6

1 4 5 6 7
    1. Thanks JR.

      This is the seconnd guide I follow from you. Just Awesome both of them. Just one question:

      The Icon won’t show on the desktop. Fedora 17 latest update. Eclipse, Java and SDK working like a charm.

      Here is my eclipse.desktop:

      [Desktop Entry]
      Comment=Eclipse SDK 4.2.1

      Thank you Thank you Thank you

      • Hi Zuken,

        Nice to hear that you have found useful guides.

        What you mean “The Icon won’t show on the desktop”?
        You should look from Activities and Application menu.

    2. Very nice guide! Everything worked as described.

      Except for one problem. I have installed Eclipse 4.2.1 on CentOS 6.3. I am not exactly sure if this has to do with the setup procedure, but I am running into a problem where Eclipse cannot access environment variables set by ~/.bashrc. I am also not sure if this has to do with CentOS 6.3.

      BTW, I am using Eclipse 4.2.1 locally on a RHEL 5.8 system with the exact environment variable setup (in ~/.bashrc), and I don’t have the problem.

      Please do share if you have any thoughts on why the environment variables are not getting read by Eclipse. Thanks.

      • Hi TP,

        Do you try to read these environment variables using Java on Eclipse or are you setting some Eclipse/Java/Ant environment variables?

        The ~/.bashrc file is (normally) read and sourced by bash when a non-login interactive shell is started, for example, when you open a virtual console from the desktop environment.

        • Hi JR,

          Actually, these environment variables used by one of Eclipse plugins. So it is the latter case.

          Meanwhile I tried something else. I unpacked the Eclipse package under my home (i.e. $HOME/tools/eclipse). The environment variables are then picked up by the local version of Eclipse. BTW, it is launched from a terminal window. Of course, that also means I didn’t create a desktop launcher for this.

          Needless to say, I also tried to run the Eclipse installed under /opt/eclipse from a terminal window, but that did not help.


          • Hi again TP,

            Sounds like .bashrc is working as it should work, environment variables work when you start local installation from command line. I recommend you to set your variables globally under /etc/profile.d/.

            1. Create file:

            2. Then add your variables to this file, like:

            export TMP_VARIABLE=/tmp

            3. Then reboot your system or try:

            source /etc/profile.d/
    3. Awesome tutorial and website!

    4. […] check this discussion, it might […]

    5. This tutorial helps me lot. Great…Thank you very much…

    6. Hi..
      I installed eclipse-sdk-4.2.1-linux-gtk-x86_64.tar.gz package on fedora14 according to steps & all steps has been work successfully but after doing all this i created a eclipse icon on desktop but when i am giving a command for running eclipse i.e eclipse(from desktop) it gives me an error i.e
      -bash: /opt/eclipse/eclipse: cannot execute binary file
      please help me for removing that error.

      • Hi Santosh,

        Could you post output of following commands:

        ls -la /opt/eclipse/eclipse
        java -version
    7. There was no trouble in installing after following the steps here. Great tutorial!! Thanks a lot!!

    8. worked like charm :) yo

    9. Thanks for the great tutorial. Very clear, easy to follow instructions. Worked perfectly.

    10. Thank You so much!

    11. Perfect ! Thank you !

    12. Excellent tutorial, thanks for the info friend.

    13. Followed your instructions, and Eclipse started and ran, both from the command line and from the Applications page. I’ve installed Fedora 16 on and old Dell D620 laptop to replace a Windows laptop that was stolen while on the road. Even though the Dell is an old computer, no problems so far with the install.

      Thanks for your great instructions!

    14. Thank you very much! Very good tutorial.
      Good point to change the right in read and right for /opt/eclipse
      Very happy to create for my first time a desktop link with gnome ;)

1 4 5 6 7

Leave a Reply to JR Cancel reply

Your email address will not be published.

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