Java 15: Windows 10 image issues

Asked by Glen

I have just started to explore SikuliX.
My configuration is as follows:

Windows 10 Pro
SikulixIDE-2.0.4
Extensions jruby-complete-9.2.0.0.jar ; iython-standalone-2.7.1.jar

java -version
openjdk version "15-ea" 2020-09-15
OpenJDK Runtime Environment (build 15-ea+16-681)
OpenJDK 64-Bit Server VM (build 15-ea+16-681, mixed mode, sharing)

My issues are:

1. when I try to do a simple click and then a screenshot the windows screen maginifies so parts of the screen are no longer available to select; and when I try to run the mouse moves nowhere near the selected area?

2. I tried a simple click with and imported image (captured are normal screen size) and I get the following error message

[error] script [ tt ] stopped with error in line 1
[error] FindFailed ( om1.PNG: (280x45) in R[0,0 1280x720]@S(0) )
[error] --- Traceback --- error source first
line: module ( function ) statement
1: main ( <module> ) click("om1.PNG")
[error] --- Traceback --- end --------------

I have successfully gotten SikuliX to work on OS X and I noticed that the screen snapshot does not cause the screen to magnify in size

I can't find instructions on how to check for a proper install on Windows 10 (ie I don't have OpenCV or tesseract installed on Windows 10?

Any installation instructions or guidance is welcome at this stage.

regards,

Glen

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Glen
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

If the same happens with Java 13, the it must be some problem with monitor settings (HiDPI, 4K, 5K ?).

I cannot help you since I do not want to use Java 15 until it is available and I do not have a HiDPI setup.

Revision history for this message
Glen (tesseract76) said :
#2

Thanks for being honest.

I will see if I can change the Java to 13c without breaking anything on the current system...hopefully then determine if the resolution is a factor.

My question still exists as to if I need to install openCV and or tesseract?

Is there any installation guide for Windows?

Revision history for this message
RaiMan (raimund-hocke) said :
#3

On Windows, there is no need to for any additional libraries - everything packed in the jar.

All you need to know:
https://raiman.github.io/SikuliX1/downloads.html

Revision history for this message
Glen (tesseract76) said :
#4

I found an older system which I installed java 13 and there is a lower resolution monitor and everything works as it should.

Thanks for the support...saved a lot of time.