@echo off
if exist "jre-25.0.2-minimal\" (
  jre-25.0.2-minimal\bin\java -jar Tingeltangel.jar cli
) else (
  if "%JAVA_HOME%"=="" (
	java -jar Tingeltangel.jar cli
  ) else (
	"%JAVA_HOME%\bin\java" -jar Tingeltangel.jar cli
  )
)
