You should install Java on the machine where you will install the EFM server.
For RHEL/CentOS:
yum install java-1.8.0-openjdk
apt-get install openjdk-8-jre