# Openjdk8 setup fails on focal

**URL:** <https://travis-ci.community/t/openjdk8-setup-fails-on-focal/9760>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** bug\
**Created:** [August 28, 2020, 10:27pm UTC](https://travis-ci.community/t/openjdk8-setup-fails-on-focal/9760 "2020-08-28T22:27:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrCreosote](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mrcreosote/32/5113_2.png) [@MrCreosote](https://travis-ci.community/u/MrCreosote)\
**Post date:** [August 28, 2020, 10:27pm UTC](https://travis-ci.community/t/openjdk8-setup-fails-on-focal/9760/1 "2020-08-28T22:27:52Z")

</div>

```
Installing openjdk8
$ export JAVA_HOME=~/openjdk8
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/openjdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "GPL" --cacerts
Ignoring license option: GPL -- using GPLv2+CE by default
install-jdk.sh 2020-06-02
Expected feature release number in range of 9 to 16, but got: 8
The command "~/bin/install-jdk.sh --target "/home/travis/openjdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "GPL" --cacerts" failed and exited with 3 during .

```

[https://travis-ci.org/github/kbase/workspace\_deluxe/builds/721509502](https://travis-ci.org/github/kbase/workspace_deluxe/builds/721509502)

---

<div class="post-metadata">

**Author:** ![joschi](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/joschi/32/5374_2.png) [@joschi](https://travis-ci.community/u/joschi)\
**Post date:** [October 22, 2020, 2:36pm UTC](https://travis-ci.community/t/openjdk8-setup-fails-on-focal/9760/2 "2020-10-22T14:36:52Z")

</div>

Same problem here, although it’s supposed to be available according to the docs:

> **[Travis CI Documentation](https://docs.travis-ci.com/user/reference/focal/#jvm-clojure-groovy-java-scala-support)**
>
> The Ubuntu 20.04 (Focal Fossa) Build Environment

---

<div class="post-metadata">

**Author:** ![joschi](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/joschi/32/5374_2.png) [@joschi](https://travis-ci.community/u/joschi)\
**Post date:** [October 22, 2020, 2:42pm UTC](https://travis-ci.community/t/openjdk8-setup-fails-on-focal/9760/3 "2020-10-22T14:42:30Z")

</div>

I’ve opened an issue on GitHub:

> <https://github.com/travis-ci/docs-travis-ci-com/issues/2902>
>
> According to the documentation about the Ubuntu 20.04 (Focal Fossa) Build Environment, it should come with OpenJDK 8 preinstalled:
> Pre-installed JVMs: openjdk8,...
