Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jul 23, 2024
1 parent 049ab28 commit 918c728
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ commands:
command: |
sudo apt update
sudo apt install -y openjdk-21-jdk
if [ "$(uname -m)" = "aarch64" ]; then
sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-arm64/bin/java
sudo update-alternatives --set javac /usr/lib/jvm/java-21-openjdk-arm64/bin/javac
else
sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-amd64/bin/java
sudo update-alternatives --set javac /usr/lib/jvm/java-21-openjdk-amd64/bin/javac
fi
prepare:
description: "Prepare"
steps:
Expand Down

0 comments on commit 918c728

Please sign in to comment.