# JAVA\_HOME is not exported for arm64 architecture

**URL:** <https://travis-ci.community/t/java-home-is-not-exported-for-arm64-architecture/6993>\
**Category:** Multi CPU Architecture\
**Tags:** java, bug\
**Created:** [January 24, 2020, 9:54am UTC](https://travis-ci.community/t/java-home-is-not-exported-for-arm64-architecture/6993 "2020-01-24T09:54:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [January 24, 2020, 1:13pm UTC](https://travis-ci.community/t/java-home-is-not-exported-for-arm64-architecture/6993/2 "2020-01-24T13:13:33Z")

</div>

Thanks for the report. I took a quick look.

We are installing `adoptopenjdk-*-hotspot` package [https://github.com/travis-ci/travis-build/blob/0d3f1f908897605ec66c0d04b2e150741c4381dc/lib/travis/build/bash/travis\_install\_jdk.bash#L45-L57](https://github.com/travis-ci/travis-build/blob/0d3f1f908897605ec66c0d04b2e150741c4381dc/lib/travis/build/bash/travis_install_jdk.bash#L45-L57) I believe the expectation was that these packages would set necessary environment variables, but probably that was wrong. We will look into it.

---

_[View the full topic](https://travis-ci.community/t/java-home-is-not-exported-for-arm64-architecture/6993)._
