sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36146
Re: [Question #279885]: Running Sikuli Command Line via VBA Shell
Question #279885 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/279885
Status: Open => Solved
Chathura confirmed that the question is solved:
I added -Dsikuli.Debug=3 toi runsikulix.cmd to see debug of error message:
set PARMS=-Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3
I pin point this error message is due to running a 32 bit version java via shell command.
My machine has both 32 bit and 64 bit java installed. I had to manually
specify the 64 bit version of java in runsikulix.cmd file.
I made following changes:
Before:
java %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND%
To
set JAVA_HOME=C:\Program Files\Java\jre7
REM java %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND%
"%JAVA_HOME%\bin\java.exe" %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND%
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.