Most of the JAVA developers uses the famous integrated development environment (IDE) software Eclipse.
Oxygen is currently it's stable release version (4.7.3). It also works along smoothly with linux. Below is a tutorial on how to install Eclipse Oxygen on CentOS 7.
$ cd /opt
$ sudo mkdir eclipse
$ cd eclipse
Current path is /opt/eclipse
Check the available packages Eclipse Packages
OXYGEN was selected for this tutorial.
Download inside /opt/eclipse/ - either manually or via command line (below).
$ sudo wget http://ftp.fau.de/eclipse/technology/epp/downloads/release/oxygen/3a/eclipse-jee-oxygen-3a-linux-gtk-x86_64.tar.gz
$ sudo tar -xvf eclipse-jee-oxygen-3a-linux-gtk-x86_64.tar.gz
$ sudo mv eclipse oxygen
Eclipse Oxygen IDE is now installed.
Go inside the main eclipse application folder.
$ cd /opt/eclipse/oxygen
Execute the program to start it.
The application should start, and you will be asked to select a directory as your workspace.
To easily start the program anywhere, create a symbolic link (symlink).
sudo ln -s /opt/eclipse/oxygen/eclipse /usr/local/bin/eclipse
The application can now be "globally" started.
Eclipse will start similarly how the manual process has started.
Create a Desktop Launcher.
Create a new file using any text editor you like, vi was used below.
$ sudo vi /usr/share/applications/eclipse.desktop
Put the following code and save.
[Desktop Entry] Name=Eclipse Oxygen Exec=/usr/local/bin/eclipse Terminal=false Comment=Eclipse Oxygen IDE Type=Application Encoding=UTF-8 Icon=/opt/eclipse/oxygen/icon.xpm Categories=GNOME;Application;Development; StartupNotify=true
Eclipse is now available under the programming category.