# How To set JAVA\_HOME separately för Elsticsearch

**URL:** <https://discuss.elastic.co/t/how-to-set-java-home-separately-for-elsticsearch/267626>\
**Category:** Elasticsearch\
**Created:** [March 18, 2021, 8:49am UTC](https://discuss.elastic.co/t/how-to-set-java-home-separately-for-elsticsearch/267626 "2021-03-18T08:49:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmad1](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@Ahmad1](https://discuss.elastic.co/u/Ahmad1)\
**Post date:** [March 18, 2021, 8:49am UTC](https://discuss.elastic.co/t/how-to-set-java-home-separately-for-elsticsearch/267626/1 "2021-03-18T08:49:13Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 15, 2021, 8:49am UTC](https://discuss.elastic.co/t/how-to-set-java-home-separately-for-elsticsearch/267626/2 "2021-04-15T08:49:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
