install elasticsearch on my server for a Magento2 installation

Job ID: 31191424

Budget: $10 – $30 USD

I am struggling to install elasticsearch on my server. My hosting company won't help as it is a "third party software". I have basically got it done but get this error ERROR: The JDK bundled with Elasticsearch requires glibc >= 2.14, but
you have version 2.12. Please set the JAVA_HOME environment variable
to point to a working JDK installation.
So need someone who can put it right for me.
Please only respond if you have done this before and know how to quickly fix it. Better still someone that can help me with the commands so i can do it myself
Related categories: Elasticsearch