[2.0.2] SikuliX does not work with OpenJDK.

Asked by Nobunaga Oda on 2020-02-09

Hello.
An error occurs when SikuliX is executed on a PC with OpenJDK 13.0.2 installed.
How can I run SikuliX?

Environment:
------------
OS Version: Windows 10 Enterprise Evaluation 1809(17763.379)
Sikuli version: 2.0.2
Java version: openjdk version "13.0.2"

hs_err_pid5476.log
------------------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffd8a9df98a, pid=5476, tid=4392
#
# JRE version: OpenJDK Runtime Environment (13.0.2+8) (build 13.0.2+8)
# Java VM: OpenJDK 64-Bit Server VM (13.0.2+8, mixed mode, sharing, tiered, compressed oops, serial gc, windows-amd64)
# Problematic frame:
# C [awt.dll+0x8f98a]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-02-09
Last reply:
2020-02-09
RaiMan (raimund-hocke) said : #1

Tested on Windows 10-64 latest with OpenJDK 13.0.2: no problems.

Check your system path:
take care, that no other java version is referenced.

Nobunaga Oda (cochrane80) said : #2

Hello.

thank you for your answer.
I checked the Java path, but it looks like there is no problem.

OpenJDK
-------
Install Path : C:\jdk-13.0.2

Windows Environment
-------------------
JAVA_HOME : C:\jdk-13.0.2
Path : %JAVA_HOME%\bin

Command Prompt
--------------
C:\Users\IEUser>java -version
openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment (build 13.0.2+8)
OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

C:\Users\IEUser>
--------------

It worked when the OpenJDK version was 12.0.2. I want to use it with this.
I am using a Japanese version of Windows10. The environment may be different ...

Can you help with this problem?

Provide an answer of your own, or ask Nobunaga Oda for more information if necessary.

To post a message you must log in.