From 4a18b722bfcdce66531fabc8d86e537ab87d9be0 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sun, 23 Aug 2020 20:25:53 +0200 Subject: [PATCH] Update setup_variables.sh --- travis/setup_variables.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/travis/setup_variables.sh b/travis/setup_variables.sh index 53428fb..506f06f 100755 --- a/travis/setup_variables.sh +++ b/travis/setup_variables.sh @@ -42,9 +42,9 @@ if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export JAVA_HOME="/c/Program Files/OpenJDK/openjdk-11.0.8_10" export VCPKG_DIR=$TRAVIS_BUILD_DIR/vcpkg elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - export PATH="$PATH:$(/usr/libexec/java_home -v 11)" - export JAVA_HOME="$(/usr/libexec/java_home -v 11)" - export JAVA_INCLUDE_PATH="$(/usr/libexec/java_home -v 11)/include" + export PATH="$PATH:$(/usr/libexec/java_home -v 14)" + export JAVA_HOME="$(/usr/libexec/java_home -v 14)" + export JAVA_INCLUDE_PATH="$(/usr/libexec/java_home -v 14)/include" elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export TRAVIS_CPU_ARCH_JAVA="${TRAVIS_CPU_ARCH,,}" export PATH="$PATH:/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_JAVA/bin"