Searched refs:java_version_string (Results 1 – 2 of 2) sorted by relevance
51 java_version_string=$(${TF_JAVA} -version 2>&1)52 JAVA_VERSION=$(echo "$java_version_string" | grep 'version [ "]\(1\.8\|9\|11\|17\|21\).*[ "]')54 >&2 echo "Wrong java version. 1.8, 9, 11, 17 or 21 is required. Found $java_version_string"66 JAVA_VERSION=$(echo "$java_version_string" | grep 'version [ "]1\.8.*[ "]')
44 java_version_string=$(${TF_JAVA} -version 2>&1)45 JAVA_VERSION=$(echo "$java_version_string" | grep 'version [ "]\(1\.8\|9\|11\|17\|21\).*[ "]')47 >&2 echo "Wrong java version. 1.8, 9, 11, 17 or 21 is required. Found $java_version_string"54 JAVA_VERSION=$(echo "$java_version_string" | grep 'version [ "]1\.8.*[ "]')