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...
thank you
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]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 4.2.1
Exec=eclipse
Icon=/home/armando/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
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.
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.
Thanks.
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:
/etc/profile.d/my_eclipse_plugin.sh
2. Then add your variables to this file, like:
3. Then reboot your system or try:
Awesome tutorial and website!
[…] check this discussion, it might […]
This tutorial helps me lot. Great…Thank you very much…
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:
There was no trouble in installing after following the steps here. Great tutorial!! Thanks a lot!!
worked like charm :) yo
Thanks for the great tutorial. Very clear, easy to follow instructions. Worked perfectly.
Thank You so much!
Perfect ! Thank you !
Excellent tutorial, thanks for the info friend.
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!
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 ;)