Win10 OpenJDK10 SikuliX IDE Fails to Start

Asked by Patrik Natali on 2020-03-05

When I run java -jar sikulix-2.0.3.jar I get the following:

Exception in thread "main" java.lang.IllegalArgumentException: --no-deprecation-warning
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.options.Options$ParsedArg.<init>(Options.java:712)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.options.Options.processArgList(Options.java:474)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.options.Options.process(Options.java:427)
        at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.<init>(NashornScriptEngine.java:119)
        at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngineFactory.getScriptEngine(NashornScriptEngineFactory.java:150)
        at org.sikuli.script.runners.JavaScriptRunner.isSupported(JavaScriptRunner.java:124)
        at org.sikuli.script.support.Runner.initRunners(Runner.java:66)
        at org.sikuli.script.support.Runner.getRunners(Runner.java:100)
        at org.sikuli.idesupport.IDESupport.init(IDESupport.java:83)
        at org.sikuli.ide.SikulixIDE.main(SikulixIDE.java:124)

How can I fix this? It just hangs at the splash saying that it's starting SikuliX, then I have to kill it in task manager.

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Patrik Natali
Solved:
2020-03-06
Last query:
2020-03-06
Last reply:
2020-03-05
RaiMan (raimund-hocke) said : #1

try with OpenJDK 11 or 13 (recommended)

Patrik Natali (pat-natali) said : #2

I got it working with OpenJDK 13! Thanks