
D:\Projects\998.IOTDOOR\iotdoor_v5>if "Windows_NT" == "Windows_NT" setlocal

D:\Projects\998.IOTDOOR\iotdoor_v5>set DIRNAME=D:\Projects\998.IOTDOOR\iotdoor_v5\ 

D:\Projects\998.IOTDOOR\iotdoor_v5>if "D:\Projects\998.IOTDOOR\iotdoor_v5\" == "" set DIRNAME=. 

D:\Projects\998.IOTDOOR\iotdoor_v5>set APP_BASE_NAME=gradlew 

D:\Projects\998.IOTDOOR\iotdoor_v5>set APP_HOME=D:\Projects\998.IOTDOOR\iotdoor_v5\ 

D:\Projects\998.IOTDOOR\iotdoor_v5>for %i in ("D:\Projects\998.IOTDOOR\iotdoor_v5\") do set APP_HOME=%~fi 

D:\Projects\998.IOTDOOR\iotdoor_v5>set APP_HOME=D:\Projects\998.IOTDOOR\iotdoor_v5\ 

D:\Projects\998.IOTDOOR\iotdoor_v5>set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 

D:\Projects\998.IOTDOOR\iotdoor_v5>if defined JAVA_HOME goto findJavaFromJavaHome 

D:\Projects\998.IOTDOOR\iotdoor_v5>set JAVA_HOME=C:\Program Files\Java\jdk-17  

D:\Projects\998.IOTDOOR\iotdoor_v5>set JAVA_EXE=C:\Program Files\Java\jdk-17 /bin/java.exe 

D:\Projects\998.IOTDOOR\iotdoor_v5>if exist "C:\Program Files\Java\jdk-17 /bin/java.exe" goto execute 

D:\Projects\998.IOTDOOR\iotdoor_v5>echo.  1>&2 
 

D:\Projects\998.IOTDOOR\iotdoor_v5>echo ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-17   1>&2 
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-17  

D:\Projects\998.IOTDOOR\iotdoor_v5>echo.  1>&2 
 

D:\Projects\998.IOTDOOR\iotdoor_v5>echo Please set the JAVA_HOME variable in your environment to match the  1>&2 
Please set the JAVA_HOME variable in your environment to match the 

D:\Projects\998.IOTDOOR\iotdoor_v5>echo location of your Java installation.  1>&2 
location of your Java installation. 

D:\Projects\998.IOTDOOR\iotdoor_v5>goto fail 

D:\Projects\998.IOTDOOR\iotdoor_v5>rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 

D:\Projects\998.IOTDOOR\iotdoor_v5>rem the _cmd.exe /c_ return code! 

D:\Projects\998.IOTDOOR\iotdoor_v5>set EXIT_CODE=0 

D:\Projects\998.IOTDOOR\iotdoor_v5>if 0 EQU 0 set EXIT_CODE=1 

D:\Projects\998.IOTDOOR\iotdoor_v5>if not "" == "" exit 1 

D:\Projects\998.IOTDOOR\iotdoor_v5>exit /b 1 
