# Java Update but needs restart for Elasticsearch

**URL:** <https://discuss.elastic.co/t/java-update-but-needs-restart-for-elasticsearch/85317>\
**Category:** Elasticsearch\
**Created:** [May 11, 2017, 2:10am UTC](https://discuss.elastic.co/t/java-update-but-needs-restart-for-elasticsearch/85317 "2017-05-11T02:10:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arianayay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@arianayay](https://discuss.elastic.co/u/arianayay)\
**Post date:** [May 11, 2017, 2:10am UTC](https://discuss.elastic.co/t/java-update-but-needs-restart-for-elasticsearch/85317/1 "2017-05-11T02:10:37Z")

</div>

Hi,

We have a vulnerability regarding an update for Java version. After updating the Java, we need to restart our Elasticsearch cluster. Is there a way that we don't need to restart the Elasticsearch instance after the Java update and changes will reflect directly?

Thanks!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 11, 2017, 4:56am UTC](https://discuss.elastic.co/t/java-update-but-needs-restart-for-elasticsearch/85317/2 "2017-05-11T04:56:42Z")

</div>

No. There is not.

You can do rolling upgrades though.

---

<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:** [June 8, 2017, 5:08am UTC](https://discuss.elastic.co/t/java-update-but-needs-restart-for-elasticsearch/85317/3 "2017-06-08T05:08:43Z")

</div>

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