← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #697558]: SikuliX API - headless error on MacOS Big Sur

 

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.