Activity log for bug #1182870

Date Who What changed Old value New value Message
2013-05-22 12:21:36 obiwan-92 bug added bug
2013-05-22 12:45:08 obiwan-92 sikuli: status New Invalid
2013-05-22 12:54:07 RaiMan summary Problem to launch script in command line for Win32 [1.0] Windows: sikuli-script.cmd: no class def found error --- use -j6 as parameter
2013-05-22 12:58:33 RaiMan description 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. **** 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 ----------------------------------------------------------------------------- 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.
2013-05-22 13:08:31 RaiMan 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 ----------------------------------------------------------------------------- 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. **** 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.
2013-05-22 13:19:53 RaiMan sikuli: status Invalid Fix Committed
2013-05-22 13:19:58 RaiMan sikuli: importance Undecided High
2013-05-22 13:20:02 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2013-05-22 13:23:03 RaiMan summary [1.0] Windows: sikuli-script.cmd: no class def found error --- use -j6 as parameter [1.0 tempFix] Windows: sikuli-script.cmd: no class def found error --- workaround
2013-06-09 16:53:58 RaiMan sikuli: milestone 1.1.0
2013-06-09 16:54:21 RaiMan tags scriptrun
2015-09-17 14:06:33 RaiMan sikuli: importance High Critical
2015-09-17 14:08:45 RaiMan 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. **** fixed in 1.1.0 the command file to use now is runsikulix.cmd ---------------------------------- **** 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.