How To set JAVA_HOME separately för Elsticsearch

Hi

I have an Elasticsearch cluster with four nodes on different servers! I need to customize JAVA_HOME only for ES, as I have other applications that use different versions of JAVA on the same environment!