Fix java path
This commit is contained in:
parent
e8ef6a2fe5
commit
30f017c892
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user