sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18473
[Bug 1182870] Re: [1.0 tempFix] Windows: sikuli-script.cmd: no class def found error --- workaround
** Changed in: sikuli
Milestone: None => 1.1.0
** Tags added: scriptrun
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1182870
Title:
[1.0 tempFix] Windows: sikuli-script.cmd: no class def found error ---
workaround
Status in Sikuli:
Fix Committed
Bug description:
**** bug sikuli-script.cmd: happens on Java 6 only installations.
WORKAROUND: use the following command to run your script:
<... path ...>\sikuli-script.cmd -j6 -r <... path to your script
...>.sikuli
a fixed version is in the "Sikuli-1.0.0-SupplementalStuff"
https://launchpad.net/sikuli/+download
-----------------------------------------------------------------------------
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".
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1182870/+subscriptions
References