[1.0.1] Setup offline: Getting errors trying to install in restricted Win 7 64 machine.

Asked by Patrick M Neve on 2013-08-28

Access to dropbox is not possible at all.
OS is Win7 64bit Enterprise

Here is what I did to install:
Set path and these environment variables:

JAVA_HOME=C:\Java\jre7
SIKULI_HOME=C:\SikuliX\
SJAR=C:\SikuliX\sikuli-script.jar

= Opened command window as administrator
= Created C:\SikuliX
= Downloaded sikuli-setup.jar and copied it there.
= Ran sikuli-setup-jar successfully
= Ran runSetup.cmd selecting option 1. It failed to download as expected .
= I found the FAQ answer relating to offline install in this kind of situation.
= Downloaded the offline setup 1.0.1 .zip files on another machine and transferred them to this one
= Created C;\SikuliX\Downloads and extracted the sikuli-xxx-1.0.1.jar files to it.
= Ran runSetup.cmd again, selecting option 1 (ide):

C:\SikuliX>runSetup.cmd
+++ running this Java
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
+++ trying to start Sikuli Setup in C:\SikuliX\
[debug] SikuliX Setup Build: 1.0.1 20AUG2013135320
[debug] ... starting with no args given
[debug] syspath: C:\SikuliX\libs
[debug] syspath: C:\Java\jre7\bin
[debug] syspath: C:\Windows\system32
[debug] syspath: C:\Windows
[debug] syspath: C:\Windows\System32\Wbem
[debug] syspath: C:\Windows\System32\WindowsPowerShell\v1.0\
[debug] syspath: C:\Program Files (x86)\Microsoft Application Virtualization Client
[debug] syspath: C:\windows\ccm\nomad\
[debug] syspath: C:\Program Files (x86)\Voltage Security\Voltage SecureMail\
[debug] syspath: C:\Program Files (x86)\Common Files\Voltage Security\
[debug] syspath: C:\Program Files\Voltage Security\Voltage SecureMail\
[debug] syspath: C:\Program Files\Common Files\Voltage Security\
[debug] syspath: C:\Program Files (x86)\Common Files\M-Tech\
[debug] syspath: C:\Program Files\Common Files\M-Tech\
[debug] syspath: c:\Awetest
[debug] syspath: C:\Windows\System32\wbem
[debug] syspath: C:\Users\pneve\AppData\Local\Programs\Git\cmd
[debug] syspath: C:\Users\pneve\AppData\Local\Programs\Git\bin
[debug] syspath: C:\Awetest\vendor\ImageMagick
[debug] syspath: C:\Awetest\shamisen\bin
[debug] syspath: C:\Awetest\Vendor\Ruby187\bin
[debug] syspath: C:\Awetest\vendor\git\bin
[debug] user home: C:\Users\pneve
[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
Exception in thread "main" java.util.ServiceConfigurationError: org.sikuli.basics.IScriptRunner: Provider org.sikuli.scriptrunner.JythonScriptRunner not found
        at java.util.ServiceLoader.fail(Unknown Source)
        at java.util.ServiceLoader.access$300(Unknown Source)
        at java.util.ServiceLoader$LazyIterator.next(Unknown Source)
        at java.util.ServiceLoader$1.next(Unknown Source)
        at org.sikuli.basics.SikuliX.getScriptRunner(SikuliX.java:193)
        at org.sikuli.basics.SikuliScript.main(SikuliScript.java:42)
        at org.sikuli.basics.RunSetup.main(RunSetup.java:776)
Terminate batch job (Y/N)? y

= Terminated the process after several minutes...

C:\SikuliX>dir
 Volume in drive C is Boot
 Volume Serial Number is D260-B60E

 Directory of C:\SikuliX

08/28/2013 03:39 PM <DIR> .
08/28/2013 03:39 PM <DIR> ..
08/28/2013 03:38 PM <DIR> bkp
08/28/2013 03:37 PM <DIR> Downloads
08/28/2013 03:39 PM <DIR> libs
08/28/2013 03:39 PM 1,452 runIDE.cmd
08/28/2013 02:48 PM 1,337 runSetup.cmd
08/28/2013 03:38 PM 0 sikuli-ide-1.0.1.jar
08/28/2013 03:39 PM 13,574,737 sikuli-ide.jar
08/28/2013 02:26 PM 18,412,234 sikuli-setup.jar
08/28/2013 03:41 PM 5,314 SikuliX-1.0.1-SetupLog.txt
               6 File(s) 31,995,074 bytes

= Attempted runSetup.cmd again for option 2:

C:\SikuliX>runSetup.cmd
+++ running this Java
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
+++ trying to start Sikuli Setup in C:\SikuliX\
[debug] SikuliX Setup Build: 1.0.1 20AUG2013135320
[debug] ... starting with no args given
[debug] syspath: C:\SikuliX\libs
[debug] syspath: C:\Java\jre7\bin
[debug] syspath: C:\Windows\system32
[debug] syspath: C:\Windows
[debug] syspath: C:\Windows\System32\Wbem
[debug] syspath: C:\Windows\System32\WindowsPowerShell\v1.0\
[debug] syspath: C:\Program Files (x86)\Microsoft Application Virtualization Client
[debug] syspath: C:\windows\ccm\nomad\
[debug] syspath: C:\Program Files (x86)\Voltage Security\Voltage SecureMail\
[debug] syspath: C:\Program Files (x86)\Common Files\Voltage Security\
[debug] syspath: C:\Program Files\Voltage Security\Voltage SecureMail\
[debug] syspath: C:\Program Files\Common Files\Voltage Security\
[debug] syspath: C:\Program Files (x86)\Common Files\M-Tech\
[debug] syspath: C:\Program Files\Common Files\M-Tech\
[debug] syspath: c:\Awetest
[debug] syspath: C:\Windows\System32\wbem
[debug] syspath: C:\Users\pneve\AppData\Local\Programs\Git\cmd
[debug] syspath: C:\Users\pneve\AppData\Local\Programs\Git\bin
[debug] syspath: C:\Awetest\vendor\ImageMagick
[debug] syspath: C:\Awetest\shamisen\bin
[debug] syspath: C:\Awetest\Vendor\Ruby187\bin
[debug] syspath: C:\Awetest\vendor\git\bin
[debug] Option UPDATE selected
[debug] checking for newer versions
[debug] You already have the latest version!
[debug] completed!
[debug] user home: C:\Users\pneve
[debug] Download ended
[debug] adding native stuff to sikuli-script.jar
[debug] trying to set up the environment
[debug] Trying to run functional test: running Jython statements via SikuliScript
Terminate batch job (Y/N)?
^C

= Again waited several minutes before terminating the process.

C:\SikuliX>dir
 Volume in drive C is Boot
 Volume Serial Number is D260-B60E

 Directory of C:\SikuliX

08/28/2013 03:43 PM <DIR> .
08/28/2013 03:43 PM <DIR> ..
08/28/2013 03:38 PM <DIR> bkp
08/28/2013 03:37 PM <DIR> Downloads
08/28/2013 03:43 PM <DIR> libs
08/28/2013 03:39 PM 1,452 runIDE.cmd
08/28/2013 03:43 PM 1,462 runScript.cmd
08/28/2013 02:48 PM 1,337 runSetup.cmd
08/28/2013 03:39 PM 13,574,737 sikuli-ide.jar
08/28/2013 03:43 PM 24,032,106 sikuli-script.jar
08/28/2013 02:26 PM 18,412,234 sikuli-setup.jar
08/28/2013 03:44 PM 10,180 SikuliX-1.0.1-SetupLog.txt
               7 File(s) 56,033,508 bytes

= Then tried running runIDE.cmd:

C:\SikuliX>runIDE
+++ running this Java
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
+++ trying to start Sikuli IDE
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\SikuliX\sikuli-ide.jar
[debug] SikuliX Setup Build: 1.0.1 20AUG2013135320
[debug] ... starting with no args given
[debug] syspath: C:\SikuliX\libs
[debug] syspath: C:\Java\jre7\bin
[debug] syspath: C:\Windows\system32
[debug] syspath: C:\Windows
[debug] syspath: C:\Windows\System32\Wbem
[debug] syspath: C:\Windows\System32\WindowsPowerShell\v1.0\
[debug] syspath: C:\Program Files (x86)\Microsoft Application Virtualization Client
[debug] syspath: C:\windows\ccm\nomad\
[debug] syspath: C:\Program Files (x86)\Voltage Security\Voltage SecureMail\
[debug] syspath: C:\Program Files (x86)\Common Files\Voltage Security\
[debug] syspath: C:\Program Files\Voltage Security\Voltage SecureMail\
[debug] syspath: C:\Program Files\Common Files\Voltage Security\
[debug] syspath: C:\Program Files (x86)\Common Files\M-Tech\
[debug] syspath: C:\Program Files\Common Files\M-Tech\
[debug] syspath: c:\Awetest
[debug] syspath: C:\Windows\System32\wbem
[debug] syspath: C:\Users\pneve\AppData\Local\Programs\Git\cmd
[debug] syspath: C:\Users\pneve\AppData\Local\Programs\Git\bin
[debug] syspath: C:\Awetest\vendor\ImageMagick
[debug] syspath: C:\Awetest\shamisen\bin
[debug] syspath: C:\Awetest\Vendor\Ruby187\bin
[debug] syspath: C:\Awetest\vendor\git\bin
[debug] Option UPDATE selected
[debug] checking for newer versions
[debug] You already have the latest version!
[debug] completed!
[debug] user home: C:\Users\pneve
[debug] Download ended
Exception in thread "main" java.lang.NoClassDefFoundError: org/sikuli/basics/RunSetup$3
        at org.sikuli.basics.RunSetup.main(RunSetup.java:621)
Caused by: java.lang.ClassNotFoundException: org.sikuli.basics.RunSetup$3
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 1 more
Terminate batch job (Y/N)?
^C

= Once again terminated the process after waiting several minutes.

= Have I missed something in the paths or environment variables?

Question information

Language:
English Edit question
Status:
Open
For:
Sikuli Edit question
Assignee:
RaiMan Edit question
Last query:
2013-08-28
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Patrick M Neve for more information if necessary.

To post a message you must log in.