diff --git a/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh b/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh
index 9772efad6784fd8c6117428e196f0a84428e2c16..4aeec2229f2d1c5cc0245d8e0629ec95b9a014de 100644
--- a/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh
+++ b/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh
@@ -202,11 +202,11 @@ if [ ! "$XWIKI_NONINTERACTIVE" = true ] ; then
     echo "No Java found. You need Java installed for XWiki to work."
     exit 0
   fi
-  if [ "$JAVA_VERSION" -lt 8 ]; then
-    echo This version of XWiki requires Java 8 or greater.
+  if [ "$JAVA_VERSION" -lt 11 ]; then
+    echo This version of XWiki requires Java 11 or greater.
     exit 0
   fi
-  if [ "$JAVA_VERSION" -gt 11 ]; then
+  if [ "$JAVA_VERSION" -gt 17 ]; then
     read -p "You're using Java $JAVA_VERSION which XWiki doesn't fully support yet. Continue (y/N)? " -n 1 -r
     if [[ ! $REPLY =~ ^[Yy]$ ]]; then
       exit 0
diff --git a/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.sh b/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.sh
index 743f4faec730ff9052beeb9aa3d2a8c1a87d61e5..3bc913546c01f7be2a17cee52d7fb31ced8075f3 100644
--- a/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.sh
+++ b/xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.sh
@@ -237,11 +237,11 @@ if [ ! "$XWIKI_NONINTERACTIVE" = true ] ; then
     echo "No Java found. You need Java installed for XWiki to work."
     exit 0
   fi
-  if [ "$JAVA_VERSION" -lt 8 ]; then
-    echo This version of XWiki requires Java 8 or greater.
+  if [ "$JAVA_VERSION" -lt 11 ]; then
+    echo This version of XWiki requires Java 11 or greater.
     exit 0
   fi
-  if [ "$JAVA_VERSION" -gt 11 ]; then
+  if [ "$JAVA_VERSION" -gt 17 ]; then
     read -p "You're using Java $JAVA_VERSION which XWiki doesn't fully support yet. Continue (y/N)? " -n 1 -r
     if [[ ! $REPLY =~ ^[Yy]$ ]]; then
       exit 0