← Back to team overview

sikuli-driver team mailing list archive

[Question #683678]: Problem finding images with Sikuli 1.1.4 and java 11+

 

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

I'm trying to finding images using Sikuli 1.1.4 and java 11 or 12.

I took a print of an image in my desktop and tried to find it using screen.exists(image), but the image is never found.

When I compile my project with java 8 the image is found without problem.

Here is the basic code:

String image = "image.png";
if (screen.exists(image) != null) {
     System.out.println("FOUND");
} else {
     System.out.println("NOT FOUND");
}

There is some special configuration to Sikuli 1.1.4 work with newer java versions?

Thanks in advance.

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