diff --git a/distribution/src/scripts/micro-integrator.sh b/distribution/src/scripts/micro-integrator.sh index a76f0a3b4c..3b483e8701 100644 --- a/distribution/src/scripts/micro-integrator.sh +++ b/distribution/src/scripts/micro-integrator.sh @@ -199,9 +199,9 @@ fi # ---------- Handle the SSL Issue with proper JDK version -------------------- java_version=$("$JAVACMD" -version 2>&1 | awk -F '"' '/version/ {print $2}') java_version_formatted=$(echo "$java_version" | awk -F. '{printf("%02d%02d",$1,$2);}') -if [ $java_version_formatted -lt 1100 ] || [ $java_version_formatted -gt 1700 ]; then +if [ $java_version_formatted -lt 1100 ] || [ $java_version_formatted -gt 2100 ]; then echo " Starting WSO2 MI (in unsupported JDK)" - echo " [ERROR] WSO2 MI is supported only between JDK 11 and JDK 17" + echo " [ERROR] WSO2 MI is supported only between JDK 11 and JDK 21" exit 0 fi