Update openjdk version from 19 to 21 in Dockerfile and Makefile
Change-Id: I459ff0614ece8f805151299e35567f72ce3f6dcf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/Makefile b/Makefile
index 683a624..8e25fa7 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@
# NOTE: pyang and pyangbind are required for build
.PHONY: all clean package trees yang-ietf openapi_schemas yang2swagger
-JAVA := /usr/lib/jvm/java-19-openjdk-amd64/bin/java
+JAVA := /usr/lib/jvm/java-21-openjdk-amd64/bin/java
PYANG := pyang
ifeq ($(OS),Windows_NT) # is Windows_NT on XP, 2000, 7, Vista, 10...
PYTHON_INTERPRETER := python