Had the same problem like markshao and the solution is very simple. runIDE on Windows has the following lines at the end of the file:
"%JAVA_HOME%\bin\java.exe" %PARMS% -jar "%SIKULIX_HOME%sikuli-ide.jar" %SIKULI_COMMAND%
GOTO FINALLY :STOPIT echo.+++ ended with some errors :FINALLY ENDLOCAL
Here the exit value of the Java call is overwritten by subsequent echo call. It can be fixed by adding the line EXIT /B %ERRORLEVEL% at the very end of the file.
Had the same problem like markshao and the solution is very simple. runIDE on Windows has the following lines at the end of the file:
"%JAVA_ HOME%\bin\ java.exe" %PARMS% -jar "%SIKULIX_ HOME%sikuli- ide.jar" %SIKULI_COMMAND%
GOTO FINALLY
:STOPIT
echo.+++ ended with some errors
:FINALLY
ENDLOCAL
Here the exit value of the Java call is overwritten by subsequent echo call. It can be fixed by adding the line
EXIT /B %ERRORLEVEL%
at the very end of the file.