Comment 11 for bug 1730645

Revision history for this message
Michelle (mnovabox) wrote : Re: [1.1.4] Windows 10: Move mouse for click not working since new JRE and Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling 100% OR try with Java 11

Hi @Raiman,

So I have the same error:

[error] RobotDesktop: checkMousePosition: should be L(3520,540)@S(1)[2560,0 1920x1080]
but after move is L(3504,557)@S(1)[2560,0 1920x1080]
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.

Now I switched to java 11.
Now I get the following error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/C:/jython2.7.0/jython.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

This is a known problem for Java 9/10/11 and the developers of jython don't know how to fix it:
https://stackoverflow.com/questions/46230413/jdk9-an-illegal-reflective-access-operation-has-occurred-org-python-core-pysys

How did you bypass this?