Unverified Commit 5ee95433 authored by 82marbag's avatar 82marbag Committed by GitHub
Browse files

Update JAVA_HOME (#1564)



Recently CI is failing with

> ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/jre-11-openjdk
> Please set the JAVA_HOME variable in your environment to match the
> location of your Java installation.

Signed-off-by: default avatarDaniele Ahmed <ahmeddan@amazon.de>
parent 5f49f7cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ COPY --chown=build:build --from=install_rust /opt/rustup /opt/rustup
ENV PATH=/opt/cargo/bin:/opt/nodejs/bin:$PATH \
    CARGO_HOME=/opt/cargo \
    RUSTUP_HOME=/opt/rustup \
    JAVA_HOME=/usr/lib/jvm/jre-11-openjdk \
    JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64 \
    GRADLE_USER_HOME=/home/build/.gradle \
    RUST_STABLE_VERSION=${rust_stable_version} \
    RUST_NIGHTLY_VERSION=${rust_nightly_version} \