diff --git a/travis/linux.sh b/travis/linux.sh index 3388c1d..9789615 100644 --- a/travis/linux.sh +++ b/travis/linux.sh @@ -27,10 +27,9 @@ if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then else export TRAVIS_CPU_ARCH_STANDARD="${TRAVIS_CPU_ARCH,,}" fi -export TRAVIS_OS_NAME_STANDARD="${TRAVIS_OS_NAME,,}" -export PATH="$PATH:/usr/lib/jvm/java-11-openjdk-$TRAVIS_OS_NAME_STANDARD/bin" -export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-$TRAVIS_OS_NAME_STANDARD" -export JAVA_INCLUDE_PATH="/usr/lib/jvm/java-11-openjdk-$TRAVIS_OS_NAME_STANDARD/include" +export PATH="$PATH:/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_STANDARD/bin" +export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_STANDARD" +export JAVA_INCLUDE_PATH="/usr/lib/jvm/java-11-openjdk-$TRAVIS_CPU_ARCH_STANDARD/include" # ====== Build Td cd $TD_BUILD_DIR