Install Eclipse Luna SR2 (4.4.2) on Fedora 22/21, CentOS/RHEL 7.1/6.6/5.11

Eclipse LogoThis is guide, howto install latest Eclipse Luna SR2 (4.4.2) on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 22/21/20/19/18/17/16/15/14/13/12, CentOS 7.1/6.6/5.11 and Red Hat (RHEL) 7.1/6.6/5.11 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 Luna SR2 (4.4.2) on Fedora 22/21/20/19, CentOS/Red Hat (RHEL) 7.1/6.6/5.11

1. Install Sun/Oracle Java JDK 8

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

2. Download Eclipse Luna SR2 (4.4.2)

Download suitable version from This guide uses Eclipse IDE for Java Developers version. Another popular versions are Eclipse IDE for Java EE Developers and Eclipse for PHP Developers. Select also 32-bit or 64-bit version depending on your system.

3. Change root user

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

5. Add read permissions to all files

6. Create Eclipse executable on /usr/bin path

7. Create Gnome desktop launcher

8. Start Eclipse 4.4.2

From command line use eclipse command

From Desktop menu Gnome 3 Eclipse 4.4.2
Eclipse Luna SR1a 4.4.1 Launcher

From Desktop menu Gnome 2 and Eclipse
Eclipse SDK 3.6.2 Launcher Gnome

9. Eclipse 4.4.1 screenshot, running on Fedora 21 64-bit

Fedora 21 Eclipse Luna SR1a 4.4.1


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/
/usr/java/jdk1.6.0_21/jre/bin/../lib/i386/client/ cannot enable executable stack as shared object requires: Permission denied

Then do following:

and try again.

Share this post


  1. How can I uninstall Eclipse if I use this method for installation?

    • Hi Mriyam,

      You could remove Eclipse using following commands:

      This doesn’t remove your data from home directory, just this guide Eclipse installation.

  2. Awesome! Very nice that you include on how to do the [Desktop Entry] etc.! Thank you! :)

  3. there is a “nano ~” missing in point 7 before “/usr/share/appl….”
    It doesn’t work without it.

    • Hello Vasile,

      You can use any editor (nano, pico, vim/vim, joe etc.), that’s why there is only mention, “Create following file, with our favourite editor”.

      • You’re right, sorry!

  4. Thank You !



  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 …
  2. Failed to execute child process "/usr/local/eclipse/eclipse" (No such file or directo - [...] check this discussion, it might [...]

Submit 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 class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">