I try to launch a Sikuli Script with the command line.
It doesn't work.
I use the 1.0.0 version of Sikuli with Java 1.6 and I try to launch my script with "sikuli-script.cmd".
My command in Windows CMD is >> "%SIKULI_HOME%sikuli-script.cmd" -r d:\Sikuli\script_test.sikuli
The error returned is :
-Xms64M -Xmx512M -Dfile.encoding=UTF-8
-r d:\Sikuli\Skl_PCC_Wrapper.sikuli
+++ using as SIKULIX_HOME: C:\Program Files\Sikuli\
+++ this Sikuli version is 32-Bit
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
+++ trying to start Sikuli Script
Exception in thread "main" java.lang.NoClassDefFoundError: org/sikuli/script/SikuliScript
Caused by: java.lang.ClassNotFoundException: org.sikuli.script.SikuliScript
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)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: org.sikuli.script.SikuliScript . Program will exit.
The command <<"%SIKULI_HOME%sikuli-script.cmd" -i>> doesn't work either with the same error return.
Maybe I have made a mistake
Regards.
Hi,
I try to launch a Sikuli Script with the command line.
It doesn't work.
I use the 1.0.0 version of Sikuli with Java 1.6 and I try to launch my script with "sikuli- script. cmd". HOME%sikuli- script. cmd" -r d:\Sikuli\ script_ test.sikuli
My command in Windows CMD is >> "%SIKULI_
The error returned is : encoding= UTF-8 Skl_PCC_ Wrapper. sikuli NoClassDefFound Error: org/sikuli/ script/ SikuliScript ClassNotFoundEx ception: org.sikuli. script. SikuliScript URLClassLoader$ 1.run(Unknown Source) AccessControlle r.doPrivileged( Native Method) URLClassLoader. findClass( Unknown Source) ClassLoader. loadClass( Unknown Source) Launcher$ AppClassLoader. loadClass( Unknown Source) ClassLoader. loadClass( Unknown Source) ClassLoader. loadClassIntern al(Unknown Source) script. SikuliScript . Program will exit.
-Xms64M -Xmx512M -Dfile.
-r d:\Sikuli\
+++ using as SIKULIX_HOME: C:\Program Files\Sikuli\
+++ this Sikuli version is 32-Bit
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
+++ trying to start Sikuli Script
Exception in thread "main" java.lang.
Caused by: java.lang.
at java.net.
at java.security.
at java.net.
at java.lang.
at sun.misc.
at java.lang.
at java.lang.
Could not find the main class: org.sikuli.
The command <<"%SIKULI_ HOME%sikuli- script. cmd" -i>> doesn't work either with the same error return.
Maybe I have made a mistake
Regards.