installation of sikuli-setup.jar stuck; setuplog.txt shows Sikuli-Script startup:6832

Asked by eve flowers

Hi,
I would appreciate some help. The runSetup.cmd is stuck at "[debug] Trying to run functional test: running Jython statements via SikuliScript". The last entry in the setuplog.txt is "[debug (10/21/13 9:13:15 AM)] Sikuli-Script startup: 6832". Any help is sincerely appreciated to complete the installation successfully. Thanks.

Some info that may be helpful:

1.The command prompt window shows this:

C:\SikuliX\Commands\windows>runSetup.cmd
+++ running this Java
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
+++ trying to start Sikuli Setup in C:\SikuliX\Commands\windows\
[debug] SikuliX Setup Build: 1.0.1 2SEP2013172831
[debug] ... starting with no args given
[debug] syspath: C:\SikuliX\Commands\windows\libs
[debug] syspath: C:\Windows\system32
[debug] syspath: C:\Windows
[debug] syspath: C:\Windows\System32\Wbem
[debug] syspath: C:\Program Files\WIDCOMM\Bluetooth Software\
[debug] syspath: C:\Program Files\WIDCOMM\Bluetooth Software\syswow64
[debug] syspath: C:\Program Files\TortoiseSVN\bin
[debug] syspath: C:\Windows\System32\WindowsPowerShell\v1.0\
[debug] syspath: C:\Windows\System32\WindowsPowerShell\v1.0\
[debug] syspath: C:\webdriver\WinAnt\bin
[debug] syspath: C:\Program Files (x86)\ZANTAZ\EAS Outlook Addin\bin
[debug] syspath: C:\Sikuli X\libs
[debug] syspath: C:\Program Files (x86)\Java\jre6\\bin
[debug] syspath: C:\Program Files (x86)\Sikuli X\libs
[debug] syspath: C:\Program Files (x86)\Java\jre6\\bin
[debug] user home: C:\Users\ylaw
[debug] Download ended
[debug] adding native stuff to sikuli-ide.jar
[debug] trying to set up the environment
[debug] Trying to run functional test: running Jython statements via SikuliScript

2. The last few entries in the setuplog.txt are:
[debug (10/21/13 9:13:15 AM)] Jython: sikuli: Sikuli: import Key
[debug (10/21/13 9:13:15 AM)] Jython: sikuli: Sikuli: import from Basics
[debug (10/21/13 9:13:15 AM)] Jython: sikuli: Sikuli: import from compare
[debug (10/21/13 9:13:15 AM)] Jython: sikuli: Sikuli: init SikuliImporter
[debug (10/21/13 9:13:15 AM)] Jython: sikuli: Sikuli: import SikuliScript
[debug (10/21/13 9:13:15 AM)] Jython: init SCREEN as ()
[debug (10/21/13 9:13:15 AM)] Sikuli-Script startup: 6832

3. Installation steps that I did:
Download sikuli-setup.jar from www.sikuli.org/download.html to c:\sikulix
Unzip the sikuli=setup.jar
Copy sikul-setup.jar to C:\SikuliX\Commands\windows
Bringup a command window
Set JAVA_HOME=C:\swtbot\java\jdk1.7.0_40
cd to C:\SikuliX\Commands\window
Run runSetup.cmd
Choose option 1

Question information

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

--- Unzip the sikuli=setup.jar
There is nothing to unzip.
The downloaded file should go directly and untouched into the target folder (C:\SikuliX\Commands\windows)

--- You have SikuliX-RC3 on your machine
at least these 2 path entries you should purge
[debug] syspath: C:\Program Files (x86)\Java\jre6\\bin
Since you want to use a Java 7 not installed in the standard place (why not is the question), this might make problems

So you should start again only doing this:
- after download into the empty folder double-click sikuli-setup-jar (you might instead delete everything except sikuli-setup.jar)
- then on commandline go to C:\SikuliX\Commands\windows and run runSetup.cmd after having done the set JAVA_HOME

Revision history for this message
eve flowers (eveflowers0) said :
#2

Raiman,

Many thanks. To get runSetup.cmd I found that I had to unzip sikuli-setup.jar. By placing the runSetup.cmd and sikuli-setup.jar in C:\SikuliX\Commands\Windows and then running runSetup.cmd from a command prompt, I was able to install successfully.

Many thanks. Now moving on to learning how to use Sikuli.