What should I do to change Java environment?

Asked by masuo

So far I use Java SE8 64bit.
I try to change Java SE8 to OpenJDK11.

But captuered images with Java SE8 environment do not work with OpenJDK11.
Do I have to capture all images with OpenJDK11?

Java SE8+SikuliX1.1.4
https://photos.app.goo.gl/YiMgDXZWt9QvBn4k8

OpenJDK11+SikuliX1.1.4
https://photos.app.goo.gl/LZFwHXBGkrmR3pLB7

Question information

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

I work with different environments either with Java8 or OpenJDK11 and do not have any problems with images.

I am not sure, what you want to tell me with your images.

A known problem on Windows (and handled differently in Java 8 and Java 11): bug 1730645

Revision history for this message
masuo (masuo-ohara) said :
#2

I have wanted to tell that the similarity of image is decreasing when changing java8 to OpenJDK11.
capture image with java8 + SikuliX, and save script.
open script with OpenJDK11 + SikuliX, and open matching preview window.

I read bug 1730645.
So far I have used SikuliX by setting the display settings as below.
scaling:125%, resolution:1920 * 1080

I changed settings scaling to 100% and tested.
capture image with java8 + SikuliX, and save script.
open script with OpenJDK11 + SikuliX, and open matching preview window.
I confirmed the similarity of image is not decreasing.

Revision history for this message
masuo (masuo-ohara) said :
#3

Thanks RaiMan, that solved my question.