Question #697558 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/697558

    Status: Open => Solved

Jeff Harmon confirmed that the question is solved:
Seems that the issue is in GraphicsEnvironment.isHeadless() in Java AWT.
This is on an M1 Mac, and it seems that evaluates to true no matter how
I launched the Java application.

Tried setting DISPLAY environment variable, that didn't fix it.

Just hardcoded:

System.setProperty("java.awt.headless", "false");

and now things are working.

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

_______________________________________________
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