Install Eclipse 4.4 Luna IDE on CentOS 7 / RHEL 7
Eclipse is one of the most widely used IDE (Integrated Development Environment) for the Java application development. Integrated Development Environment or IDE provides many features such as authoring, modifying, compiling, deploying and debugging software.
Eclipse is not only used for developing Java application, it can be used to develop applications in various programming languages including Ada, C, C++, COBOL, Java, Perl, PHP, Python, R, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy and Scheme. It can also be used to develop packages for the software mathematica.
Development environments include the Eclipse Java development tools (JDT) for Java, Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others. Lot of plugins available for Eclipse so that you can extend ability as much as you want.
Before installing Eclipse, make sure you have Sun Java JDK installed on your machine. Install Sun/ Java 1.8 on CentOS 7 / RHEL 7.
Open Terminal (Applications —–> System Tools ——> Terminal) Switch to root user.
Download Eclipse 4.4.1 Luna SR1:
Download latest eclipse package, this guide uses Eclipse 4.4.1 IDE for Java Developers.; download 64 bit version of eclipse only.
Extract Eclipse package (example /usr/).
# tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /usr/
Symlink eclipse executable to /usr/bin path.
# ln -s /usr/eclipse/eclipse /usr/bin/eclipse
Create Gnome launcher
# vi /usr/share/applications/eclipse-4.4.desktop
Place the following content in the above file.
[Desktop Entry] Encoding=UTF-8 Name=Eclipse 4.4.1 Comment=Eclipse Luna Exec=/usr/bin/eclipse Icon=/usr/eclipse/icon.xpm Categories=Application;Development;Java;IDE Version=1.0 Type=Application Terminal=0
From the command line
Gnome 3, Application –> Programming –> Eclipse.
Configure workspace for Eclipse.
Eclipse 4.4 screenshot, running on CentOS 7.