From f4f98d1847b5f209f4b38de53ab473c21b554ac0 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Sun, 8 May 2022 12:39:14 -0700 Subject: [PATCH] fix java version --- scripts/javaver.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/javaver.cmd b/scripts/javaver.cmd index 1fde4c3..9433417 100644 --- a/scripts/javaver.cmd +++ b/scripts/javaver.cmd @@ -29,7 +29,7 @@ for /f "delims=. tokens=1-3" %%v in ("%JAVAVER%") do ( ) :: Ensure java 17 -if %MAJOR% NEQ "17" ( +if "%MAJOR%" NEQ "17" ( echo ======================================================================================= echo !! Java version is not 17 !! echo Please download Java 17 or later to ensure %BRANCH% branch server launches correctly.