In order to run Elasticsearch, a Java Runtime Environment (JRE) is required on the machine. Elasticsearch requires Java 7 or higher and recommends Oracle JDK version 1.8.0_73.
So, be sure if you have Java in your system. If not, then follow the procedure:
# Install wget with yum
yum -y install w...