Set java version to java 17

Gerrit 3.10 requires java 17

Change-Id: I10154a87e5ec136248b1218de5fc70591f932a1a
diff --git a/gerrit/Makefile b/gerrit/Makefile
index 9455b01..2b5b655 100644
--- a/gerrit/Makefile
+++ b/gerrit/Makefile
@@ -59,7 +59,7 @@
 	docker tag aws-gerrit/gerrit:$(IMAGE_TAG) $(DOCKER_REGISTRY_URI)/aws-gerrit/gerrit:$(IMAGE_TAG)
 
 check-gerrit-version-vs-war-url:
-	. set-java.sh 11; \
+	. set-java.sh 17; \
 	if [[ "$(GERRIT_WAR_URL)" != "" ]]; \
 	then \
 		curl $(GERRIT_WAR_URL) > gerrit.war; \