# Openjdk8 is not supported

**URL:** <https://travis-ci.community/t/openjdk8-is-not-supported/5611>\
**Category:** Multi CPU Architecture\
**Created:** [October 22, 2019, 6:51am UTC](https://travis-ci.community/t/openjdk8-is-not-supported/5611 "2019-10-22T06:51:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangxiyuan](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@wangxiyuan](https://travis-ci.community/u/wangxiyuan)\
**Post date:** [October 22, 2019, 6:51am UTC](https://travis-ci.community/t/openjdk8-is-not-supported/5611/1 "2019-10-22T06:51:14Z")

</div>

When I tried using `jdk: openjdk8`  
The log said that it only support version 9-14.

Then I use openjdk9, but the log said: Error: JAVA\_HOME is not defined correctly.

---

<div class="post-metadata">

**Author:** ![Michal](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/michal/32/2848_2.png) [@Michal](https://travis-ci.community/u/Michal)\
**Post date:** [October 22, 2019, 7:46am UTC](https://travis-ci.community/t/openjdk8-is-not-supported/5611/2 "2019-10-22T07:46:59Z")

</div>

Hi @wangxiyuan

Happy to see you testing ARM builds!

This is Early Release stage, so not all languages are pre-installed yet, including Java. It’s in queue, though.  
Until the pre-installed version is delivered you can instruct your ARM build to install certain openjdk by properly adding commands in your `.travis.yml` in e.g. `before_install:` section or via

```auto
addons:
    apt:
      packages:
          # name the package

```

Please take a look at [Installing Dependencies](https://docs.travis-ci.com/user/installing-dependencies) documentation for reference.

Hope it helps!

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [October 19, 2020, 1:51pm UTC](https://travis-ci.community/t/openjdk8-is-not-supported/5611/3 "2020-10-19T13:51:13Z")

</div>

2 posts were split to a new topic: [Amd64 job is incorrectly labelled as amd64](https://travis-ci.community/t/amd64-job-is-incorrectly-labelled-as-amd64/10203)
