sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10494
Re: [Question #196479]: ExceptionInInitializerError when trying to run sikuli from Eclipse using JAVA
Question #196479 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/196479
Status: Open => Answered
RaiMan proposed the following answer:
Are you using the Junit feature of Eclipse?
Just run this snippet as normal Java application:
import org.sikuli.script.*;
public class Test {
/**
* @param args
*/
public static void main(String[] args) throws FindFailed{
Screen s = new Screen(0);
System.out.println(s.userCapture());
new Win32Util;
}
}
This should display the capture prompt on the primary screen. After
making a selection, the program should end without errors
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.