fix java search in start.cmd

This commit is contained in:
Apexo01
2022-05-24 09:05:17 +03:00
committed by Melledy
parent c8a7aea78b
commit 39526cf090
2 changed files with 5 additions and 1 deletions

View File

@@ -28,6 +28,10 @@ if exist "%CUR_PATH%%CONFIG%.cmd" (
)
if not "%JAVA_PATH%" == "DO_NOT_CHECK_PATH" (
if "%JAVA_PATH%" == "\bin\" (
call :LOG [ERROR] JAVA_HOME not found, please setup your windows enviroment for installed java.
goto :EXIT
)
if not exist "%JAVA_PATH%java.exe" (
call :LOG [ERROR] Java not found.
goto :EXIT