Problem finding images with Sikuli 1.1.4 and java 11+

Asked by Anderson Cardoso on 2019-09-05

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) {
} else {
     System.out.println("NOT FOUND");

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

Thanks in advance.

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

Windows 10?

if yes, see:
bug 1730645

Can you help with this problem?

Provide an answer of your own, or ask Anderson Cardoso for more information if necessary.

To post a message you must log in.