# Remove outdated java present in Elasticsearch installation

**URL:** <https://discuss.elastic.co/t/remove-outdated-java-present-in-elasticsearch-installation/259553>\
**Category:** Elasticsearch\
**Created:** [December 24, 2020, 6:47am UTC](https://discuss.elastic.co/t/remove-outdated-java-present-in-elasticsearch-installation/259553 "2020-12-24T06:47:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darshan\_Parab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshan_parab/32/51098_2.png) [@Darshan\_Parab](https://discuss.elastic.co/u/Darshan_Parab)\
**Post date:** [December 24, 2020, 6:47am UTC](https://discuss.elastic.co/t/remove-outdated-java-present-in-elasticsearch-installation/259553/1 "2020-12-24T06:47:45Z")

</div>

Hi,

We are running Elasticsearch 7.9.1 in our environment. We have been reported that there is outdated java version installed at path `/usr/share/elasticsearch/jdk`. Though we are not using it to run Elasticsearch. But this has to be removed as it is marked as critical security finding. I would like to know,

1. Is there a standard way of removing this version of Java bundled with Elasticsearch
2. If not then is it safe to just delete contents from this location without affecting Elasticsearch

Regards,  
Darshan

---

<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:** [January 21, 2021, 6:47am UTC](https://discuss.elastic.co/t/remove-outdated-java-present-in-elasticsearch-installation/259553/2 "2021-01-21T06:47:59Z")

</div>

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