# Docker - how to switch JRE version from 11 to 8?

**URL:** <https://discuss.elastic.co/t/docker-how-to-switch-jre-version-from-11-to-8/189303>\
**Category:** Logstash\
**Created:** [July 8, 2019, 7:48am UTC](https://discuss.elastic.co/t/docker-how-to-switch-jre-version-from-11-to-8/189303 "2019-07-08T07:48:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben.wolfpack-digital](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben.wolfpack-digital/32/49597_2.png) [@ben.wolfpack-digital](https://discuss.elastic.co/u/ben.wolfpack-digital)\
**Post date:** [July 8, 2019, 7:48am UTC](https://discuss.elastic.co/t/docker-how-to-switch-jre-version-from-11-to-8/189303/1 "2019-07-08T07:48:44Z")

</div>

Hello,

Is it possible to easily switch the java/JRE version of Docker image for Logstash to 8?

My other option will be to inherit from official image and downgrade JRE to version 8.

Thanks,

Ben C.

---

<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:** [August 5, 2019, 7:49am UTC](https://discuss.elastic.co/t/docker-how-to-switch-jre-version-from-11-to-8/189303/2 "2019-08-05T07:49:01Z")

</div>

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