diff --git a/gradlew.bat b/gradlew.bat index 5abf139..f955316 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -20,7 +20,7 @@ set DEFAULT_JVM_OPTS= if defined JAVA_HOME goto findJavaFromJavaHome set JAVA_EXE=java.exe -%JAVA_EXE% -minecraftVersionInfo >NUL 2>&1 +%JAVA_EXE% -version >NUL 2>&1 if "%ERRORLEVEL%" == "0" goto init echo.