# The JDK used is different from the JDK installed

**URL:** <https://travis-ci.community/t/the-jdk-used-is-different-from-the-jdk-installed/8649>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** travis-build\
**Created:** [May 17, 2020, 6:50am UTC](https://travis-ci.community/t/the-jdk-used-is-different-from-the-jdk-installed/8649 "2020-05-17T06:50:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![softwaredoug](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/softwaredoug/32/4596_2.png) [@softwaredoug](https://travis-ci.community/u/softwaredoug)\
**Post date:** [May 17, 2020, 1:56pm UTC](https://travis-ci.community/t/the-jdk-used-is-different-from-the-jdk-installed/8649/2 "2020-05-17T13:56:20Z")

</div>

Yep same here…

> [@Installing Java 14 fails with "travis\_setup\_java: command not found"](https://travis-ci.community/t/installing-java-14-fails-with-travis-setup-java-command-not-found/8626):
>
> Hi, I help maintain the [Elasticsearch Learning to Rank Plugin](http://github.com/o19s/elasticsearch-learning-to-rank). As part of this Pull Request, we are upgrading to [Elasticsearch 7.7](https://github.com/o19s/elasticsearch-learning-to-rank/pull/306). Part of this Elasticsearch now requires Java 14, so we updated our config to oraclejdk14. It seemed to work up until tonight when we were receiving the error when the install Java runs travis\_fold:start:install\_jdk e[0Ke[33;1mInstalling oraclejdk14e[0m travis\_setup\_java: command not found travis\_fold:end:install\_jdk Subsequent java -version returns: $ java -Xmx32…

---

_[View the full topic](https://travis-ci.community/t/the-jdk-used-is-different-from-the-jdk-installed/8649)._
