sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15592
[Bug 706298] Re: X 1.0rc1: Win XP 64: Sikuli IDE wont start straight
** Tags removed: doesnt ide start win wont xp
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/706298
Title:
X 1.0rc1: Win XP 64: Sikuli IDE wont start straight
Status in Sikuli:
New
Bug description:
Today (22/01/2011, local time 14:15 GMT) I upgraded to
Sikuli-X-1.0rc1-win32. I'm running Windows XP Pro SP3 x64.
Running either Sikuli-IDE.bat or Sikuli-IDE.exe fails to start up the
IDE. The Sikuli-IDE.exe seems to do nothing, but the batch file gave
me errors:
>Sikuli-IDE.bat
The system cannot find the path specified.
The system cannot find the path specified.
[info] locale: en_GB
[info] no locale for en_GB
[debug] init user preferences
Redirect stdout/stderr to console.
Then it ends returns back to the command prompt. I looked at your
original batch file;
@echo off
PATH=%PATH%;%~d0%~p0libs
set JAVA_EXE="java"
if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"
%JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -jar "%~d0%~p0sikuli-ide.jar" %*
I'm not sure if I'm missing something here or what, but %~d0%~p0libs means nothing on my machine, its not a defined environment variable if thats what its supposed to be. I changed the batch scrip to the following and Sikuli starts up just great, but obviously this is no good if you don't use the default install directory:
@echo off
set HERE_PATH=C:\Program Files (x86)\Sikuli X
set JAVA_EXE="java"
if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"
%JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path="%HERE_PATH%\sikuli-script.jar/" -jar "%HERE_PATH%\sikuli-ide.jar" %*
So, I'm not sure if this is a bug with my PC or your batch script but just in case, I wanted to point it out to someone :)
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/706298/+subscriptions
References