sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56952
Re: [Question #696076]: [2.0.5] IDE: macOS 11: problems with screen capture and mouse actions
Question #696076 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696076
Status: Open => Answered
RaiMan proposed the following answer:
from a discussion including the sqlite commands, this is my conclusion:
--------------
I now found out:
If you add an app or an executable using the + in the SysPreps, then the entry shows up immediately, when using the sqlite command.
So I guess, that the best approach is, to actively add the respective
app or executable using the + in the SysPreps, because any changes done
using - or + button in SysPrefs instantly show up using the sqlite
command.
So the steps are the following:
in any case stop the Terminal app completely (not only windows!)
when you want to run the SikuliX IDE from a Terminal using Java 8
first in SysPrefs remove all entries with the name java (using - button)
then use the + button to add java again: in the file dialog navigate to the respective java executable (..../bin/java)
do this for Accessibility and Screenrecording
start a Terminal window
run the Java command to start the SikuliX IDE
-------------
See the complete discussion:
https://github.com/RaiMan/SikuliX1/issues/429
You use as executable /usr/bin/java, which is a generic executable, that
selects the concrete current active Java version from
/Library/Java/JavaVirtualMachines/...
My experience is, that the java entries should point to the .../bin/java
executable in the respective folder there.
Another option is to use Java 11 from AdoptOpenJDK, which does not need
an extra java entry in SysPrefs.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.