Update Java version name

Change-Id: Ife3d1c2defe8e8e7eac67e53fe5813cd3fd267a9
pull/662/head
Alex Vanyo 2 years ago
parent 96a0449ba9
commit 1713f14f53

@ -35,7 +35,7 @@ echo y | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses
cd $KOKORO_ARTIFACTS_DIR/git/nowinandroid cd $KOKORO_ARTIFACTS_DIR/git/nowinandroid
# The build needs Java 11, set it as the default Java version. # The build needs Java 17, set it as the default Java version.
sudo update-java-alternatives --set java-1.17.0-openjdk-amd64 sudo update-java-alternatives --set java-1.17.0-openjdk-amd64
# Also clear JAVA_HOME variable so java -version is used instead # Also clear JAVA_HOME variable so java -version is used instead

Loading…
Cancel
Save