windows 8

Asked by bkrocker

I've loaded Sikuli IDE 905 and Installed Java 6.
After launching Sikuli, pressing any of the icons results in Sikuli shutting down instantly

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
bkrocker
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Please give detailed info on your configuration.

-- Make sure, JRE 6 is used if Java 7 is on the machine also

-- use Sikuli-IDE.bat to start Sikuli

-- make the checks according to faq 2005

Revision history for this message
bkrocker (bkrocker1) said :
#2

I'm running jre 1.6.0_35
Sikuli X-1.0rc3 (r905)

User variables
%ProgramFiles%\Sikuli X\libs;%ProgramFiles%\Sikuli X\libs;%ProgramFiles%\Java\jre6\bin;bin

System variables
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%CommonProgramFiles%\Compuware;%ProgramFiles%\Micro Focus\TestPartner\;%ProgramFiles%\Micro Focus\TestPartner\AppExtDlls

SIKULI_HOME
C:\Program Files\Sikuli X\
_______________________________________________________________________________

When I run the command: java -jar %SIKULI_HOME%sikuli-script,jar -I
I get: Unable to access jarfile C:\Program

Revision history for this message
bkrocker (bkrocker1) said :
#3

Although my last statement didn't work, I am able to run sikuli and get the snapshots, and clicks.
So I guess, unless it is important that the command above is necessary to work properly ( bite me later on ;) )
I'll put in that the problem is solved

Thanks for the help
Blane

Revision history for this message
RaiMan (raimund-hocke) said :
#4

--- When I run the command: java -jar %SIKULI_HOME%sikuli-script,jar -I

ok, sorry for that: since there are blanks in the jar filename, the stuff has to be put in apostrophes:

java -jar "%SIKULI_HOME%sikuli-script,jar" -i

and the parameter must be an -i (lowercase I - like Interactive)

--- I am able to run sikuli and get the snapshots, and clicks.
so how do you start Sikuli now?

Revision history for this message
bkrocker (bkrocker1) said :
#5

Hi RaiMan,
I appreciate you helping me with this.

I was always able to lauch Sikuli, it was when I tried to do anything after it launched, that it would exit right away.

I run the updated commandline, and it worked.
You say to delete from the registry HKCU\Software\JavaSoft\Prefs\org\sikuli\ide\

Which part? ide, keys under ide from \sikuli

Thanks,
Blane

________________________________
From: RaiMan <email address hidden>
To: <email address hidden>
Sent: Tuesday, September 11, 2012 12:15 PM
Subject: Re: [Question #208195]: windows 8

Your question #208195 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208195

RaiMan posted a new comment:
--- When I run the command: java -jar %SIKULI_HOME%sikuli-script,jar -I

ok, sorry for that: since there are blanks in the jar filename, the
stuff has to be put in apostrophes:

java -jar "%SIKULI_HOME%sikuli-script,jar" -i

and the parameter must be an -i (lowercase I - like Interactive)

--- I am able to run sikuli and get the snapshots, and clicks.
so how do you start Sikuli now?

--
You received this question notification because you asked the question.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

--- Which part? ide, keys under ide from \sikuli
This is only needed, if you face problems restarting the IDE with r905 (problem fixed in r930).
The critical part in the registry section is where Sikuli stores the script locations of the scripts, that where open. when the IDE was closed the last time. With r905 there were problems at restart, when some of these scripts could not be found anymore.

Revision history for this message
bkrocker (bkrocker1) said :
#10