New question #664402 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664402

I have added following Jar's in Eclipse:
sikulixsetup-1.1.1.jar
sikulixapi.jar
sikuli-setup.jar

I got the below error while running the code:

Exception in thread "main" java.lang.NoSuchMethodError: 
org.sikuli.basics.Debug.init()V
        at org.sikuli.script.RunTime.get(RunTime.java:157)
        at org.sikuli.script.RunTime.get(RunTime.java:124)
        at org.sikuli.script.RunTime.get(RunTime.java:323)
        at org.sikuli.script.Region.<clinit>(Region.java:31)
        at sikulipak.Testing.main(Testing.java:8)

Code:

package sikulipak;

import org.sikuli.script.*;

public class Testing {

        public static void main(String[] args) {
                Screen s = new Screen();
                try{
                        s.click("imgs/spotlight.png");
                        s.click();
                        s.write("hello world#ENTER.");
                }
                catch(FindFailed e){
                        e.printStackTrace();
                }
        }
}

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to