# Error installing 'oraclejdk8': "Expected feature release number in range of 9 to 14, but got: 8"

**URL:** <https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766>\
**Category:** Environments\
**Created:** [June 17, 2019, 3:56pm UTC](https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766 "2019-06-17T15:56:46Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![emetsger](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/emetsger/32/1999_2.png) [@emetsger](https://travis-ci.community/u/emetsger)\
**Post date:** [August 7, 2019, 2:34am UTC](https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766/10 "2019-08-07T02:34:15Z")

</div>

Thanks for all the replies, adding “dist: trusty” fixed my issue.

the question is: why did my build environment change under my feet? Kind of defeats the purpose if your build environment changes underneath of you without you knowing.

I have many many repositories that use Oracle JDK 8, and only a handful have been affected by this issue: as if some of my environments have been migrated to Xenial, while some have not.

---

_[View the full topic](https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766)._
