From 56ce7f8432a1c6be766d71ed1d628c874e24165a Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Mon, 26 Aug 2019 15:56:46 +0530 Subject: create the Java 8 install dir in the build directory --- test-compatibility.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test-compatibility.sh') diff --git a/test-compatibility.sh b/test-compatibility.sh index 4f5d18ab5..ead8878a5 100755 --- a/test-compatibility.sh +++ b/test-compatibility.sh @@ -42,15 +42,15 @@ ant -f fetch.xml -Ddest=optional # This will ensure that Ant built with different (higher) version of Ant # can be used by Java 8 runtime and can function properly for all Ant # functionality -mkdir java-8-latest -cd java-8-latest +mkdir -p build/java-8-latest +cd build/java-8-latest # Download latest Java 8 (we use Adopt OpenJDK binaries) wget https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz tar -zxf ./*.tar.gz # set JAVA_HOME to point to the newly extracted tar's content export JAVA_HOME="`echo \`pwd\`/\`echo */\``" export PATH="${JAVA_HOME}"/bin:$PATH -cd .. +cd ../.. echo "Using \"${JAVA_HOME}\" to run Ant tests" java -version -- cgit v1.2.1