# Unable to build with jdk: openjdk16. "Couldn't determine a download url for 16-GPL on linux-x64"

**URL:** <https://travis-ci.community/t/unable-to-build-with-jdk-openjdk16-couldnt-determine-a-download-url-for-16-gpl-on-linux-x64/12770>\
**Category:** Java\
**Tags:** bug\
**Created:** [March 8, 2022, 8:19am UTC](https://travis-ci.community/t/unable-to-build-with-jdk-openjdk16-couldnt-determine-a-download-url-for-16-gpl-on-linux-x64/12770 "2022-03-08T08:19:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Petterp](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/petterp/32/7586_2.png) [@Petterp](https://travis-ci.community/u/Petterp)\
**Post date:** [March 9, 2022, 7:15am UTC](https://travis-ci.community/t/unable-to-build-with-jdk-openjdk16-couldnt-determine-a-download-url-for-16-gpl-on-linux-x64/12770/4 "2022-03-09T07:15:08Z")

</div>

This looks like something that could help us.

> [@Update install-jdk.sh with the new revision](https://travis-ci.community/t/update-install-jdk-sh-with-the-new-revision/12761):
>
> The install-jdk.sh script has been updated [Update install-jdk.sh · sormuras/bach@d9aa8c6 · GitHub](https://github.com/sormuras/bach/commit/d9aa8c6f2a4241d8121baefe186515fd3fbd6108), need to update the script on the Travis’s end also, builds depending upon JDK are not building. Installing oraclejdk11 $ export JAVA\_HOME=~/oraclejdk11 $ export PATH="$JAVA\_HOME/bin:$PATH" $ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk11" --workspace "/home/travis/.cache/install-jdk" --feature "11" --license "BCL" Ignoring license option: BCL -- using GPLv2+CE by default install-jdk.sh 20…

---

_[View the full topic](https://travis-ci.community/t/unable-to-build-with-jdk-openjdk16-couldnt-determine-a-download-url-for-16-gpl-on-linux-x64/12770)._
