How To Install Eclipse Marsh 4.5.2

To Install Eclipse Marsh 4.5.2 in RHEL/CentOS 7, Fedora 23-22

Eclipse is an open source and free multi-language and multi-platform software development program that used to build JAVA based web applications. This article deals with the step by step procedure to install Eclipse Marsh Classic 4.5.1 in RHEL/CentOS 7, Fedora 23-22.

To Install Java JDK 8

Use the following YUM command to install Java JDK 8 package.

[root@linuxhelp ~]# yum install java
Yum command has been deprecated, redirecting to ' /usr/bin/dnf install java' .
See ' man dnf'  and ' man yum2dnf'  for more information.
To transfer transaction metadata from yum to DNF, run:
' dnf install python-dnf-plugins-extras-migrate & &  dnf-2 migrate' 

Last metadata expiration check: 0:11:10 ago on Thu Mar 24 12:16:30 2016.
Dependencies resolved.
================================================================================
 Package                 Arch      Version                     Repository  Size
================================================================================
Installing:
 java-1.8.0-openjdk      x86_64    1:1.8.0.72-9.b16.fc23       updates    221 k
 ttmkfdir                x86_64    3.0.9-46.fc23               fedora      54 k

&hellip &hellip &hellip ..
&hellip &hellip &hellip ..
Running transaction
  Installing  : ttmkfdir-3.0.9-46.fc23.x86_64                               1/3 
  Installing  : xorg-x11-fonts-Type1-7.5-15.fc23.noarch                     2/3 
  Installing  : java-1.8.0-openjdk-1:1.8.0.72-9.b16.fc23.x86_64             3/3 
  Verifying   : java-1.8.0-openjdk-1:1.8.0.72-9.b16.fc23.x86_64             1/3 
  Verifying   : xorg-x11-fonts-Type1-7.5-15.fc23.noarch                     2/3 
  Verifying   : ttmkfdir-3.0.9-46.fc23.x86_64                               3/3 

Installed:
  java-1.8.0-openjdk.x86_64 1:1.8.0.72-9.b16.fc23 ttmkfdir.x86_64 3.0.9-46.fc23
  xorg-x11-fonts-Type1.noarch 7.5-15.fc23        

Complete!

To Download Eclipse Marsh 4.5.1

Either you can download Eclipse Classic 4.5.2 for system OS bit, by choosing following link with Wget command or you can also download it from the source website.

On RHEL/CentOS/Fedora 32 & 64-bit OS
The following website is used to download Eclipse Classic 4.5.2
http://www.eclipse.org/downloads/

To view the downloaded file

[root@linuxhelp ~]# cd /home/user1/Downloads/
[root@linuxhelp Downloads]# ll
total 401160
-rw-rw-r--. 1 user1 user1 174274778 Mar 24 10:19 eclipse-java-mars-2-linux-gtk-x86_64.tar.gz

To Extract Eclipse Marsh 4.5.2

Unpack it under /opt directory, using Tar command with -C switch.

[root@linuxhelp Downloads]# tar -xvf eclipse-java-mars-2-linux-gtk-x86_64.tar.gz -C /opt/
eclipse/
eclipse/configuration/
eclipse/configuration/org.eclipse.equinox.simpleconfigurator/
eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse/configuration/org.eclipse.update/
eclipse/configuration/org.eclipse.update/platform.xml

To Set Execute Permissions to Eclipse files

Use the following command, to set executable permission on all files under eclipse directory.

[root@linuxhelp opt]# chmod -R +r /opt/eclipse
[root@linuxhelp opt]# ll
total 120
drwxrwxr-x. 9 root users   4096 Feb 18 14:08 eclipse

Use the following command, to create eclipse executable binary file and set permission.

[root@linuxhelp opt]# touch /usr/bin/eclipse
[root@linuxhelp opt]# chmod 755 /usr/bin/eclipse

Run the following command to create a file

Add the following lines to it save and close the file.

[root@linuxhelp opt]# vim /usr/bin/eclipse
#!/bin/sh
export ECLIPSE_HOME=" /opt/eclipse" 
$ECLIPSE_HOME/eclipse $*
:wq!

To create GNOME Desktop Launcher

Using VI editor create the GNOME desktop.

[root@linuxhelp opt]# vim /usr/share/applications/eclipse.desktop
Then Add the following lines of code to it, save and close the file.
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse Mars.1 4.5.1
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME Application Development 
StartupNotify=true

To Start Eclipse Launcher

Run the following command from the Desktop terminal.

[root@linuxhelp opt]# eclipse

Eclipse Create Work Place

Eclipse Welcome Screen


FAQ
Q
How long does a solar eclipse last from start to finish?
A
NASA says the longest duration of totality will be near Carbondale, Ill., where the sun will be completely covered for two minutes and 40 seconds. Some places, like Kansas City, Kans.
Q
How long do eclipse glasses last?
A
According to NASA, glasses should be replaced immediately if the lenses are wrinkled or scratched. Warnings that glasses expire after three years are outdated, however, says the space agency, writing: If the filters aren't scratched, punctured, or torn, you may reuse them indefinitely.
Q
Eclipse photon requires which java version?
A
It will requires for java version 8 or newer
Q
What is the best alternative for Eclipse?
A
NetBeans
Q
How do I uninstall the Eclipse when I folllowed these steps for installation?
A
you need to remove eclipse directory rm -rf /opt/eclipse and binary file rm -rf /usr/bin/eclipse and also the desktop shortcut /usr/share/applications/eclipse.desktop