Skip to content

Commit

Permalink
(maint) Fix broken Java 8 install in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
justinstoller committed Sep 9, 2022
1 parent a0d8e24 commit cdcf171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/travisci/install-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ echo "Installing Java $JAVA_VERSION"

sudo rm -rf /usr/local/lib/jvm/
sudo rm -rf /usr/lib/jvm/openjdk-$JAVA_VERSION
sudo apt-get update
sudo apt-get install -y openjdk-$JAVA_VERSION-jdk-headless
export JAVA_HOME=/usr/lib/jvm/java-$JAVA_VERSION-openjdk-amd64/

0 comments on commit cdcf171

Please sign in to comment.