bunch of errorS while try find(x) using the IDE

Asked by SL5 on 2020-02-24

today i downloadet the needet two jar files and tried a first hallo wordld (Take screeshot and find find it).

i am using Linux Mint

by clicking the start button i get this errors:

Exception in thread "Thread-43" java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.Finder$FindInput2
 at org.sikuli.script.Finder.<init>(Finder.java:34)
 at org.sikuli.script.Region.doCheckLastSeenAndCreateFinder(Region.java:2834)
 at org.sikuli.script.Region.checkLastSeenAndCreateFinder(Region.java:2795)
 at org.sikuli.script.Region.doFind(Region.java:2724)
 at org.sikuli.script.Region.access$300(Region.java:28)
 at org.sikuli.script.Region$RepeatableFind.run(Region.java:2968)
 at org.sikuli.script.Region$Repeatable.repeat(Region.java:2919)
 at org.sikuli.script.Region.exists(Region.java:2315)
 at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$30$\^eval\_/0x0000000840da5c40.:program(<eval>:1)
 at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:655)
 at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
 at jdk.scripting.nashorn/jdk.nashorn.internal.run
time.ScriptRuntime.apply(ScriptRuntime.java:527)
 at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:456)
 at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:413)
 at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:409)
 at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:162)
 at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
 at org.sikuli.script.runners.JavaScriptRunner.doEvalScript(JavaScriptRunner.java:95)
 at org.sikuli.script.runners.AbstractScriptRunner.lambda$evalScript$1(AbstractScriptRunner.java:193)
 at org.sikuli.script.runners.AbstractScriptRunner$1.run(AbstractScriptRunner.java:316)
Exception in thread "Thread-45" java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.Finder$FindInput2
 at org.sikuli.script.Finder.<init>(Finder.java:34)
 at org.sikuli.script.Region.doCheckLastSeenAndCreateFinder(Region.java:2834)
 at org.sikuli.script.Region.checkLastSeenAndCreateFinder(Region.java:2795)
 at org.sikuli.script.Region.doFind(Region.java:2724)
 at org.sikuli.script.Region.access$300(Region.java:28)
 at org.sikuli.script.Region$RepeatableFind.run(Region.java:2968)
 at org.sikuli.script.Region$Repeatable.repeat(Region.java:2919)
 at org.sikuli.script.Region.exists(Region.java:2315)
 at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$23$\^eval\_/0x000000084097e840.:program(<eval>:1)
 at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:655)
 at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
 at jdk.scripting.nashorn/jdk.nashorn.internal.run
time.ScriptRuntime.apply(ScriptRuntime.java:527)
 at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:456)
 at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:413)
 at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:409)
 at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:162)
 at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
 at org.sikuli.script.runners.JavaScriptRunner.doEvalScript(JavaScriptRunner.java:95)
 at org.sikuli.script.runners.AbstractScriptRunner.lambda$evalScript$1(AbstractScriptRunner.java:193)
 at org.sikuli.script.runners.AbstractScriptRunner$1.run(AbstractScriptRunner.java:316)
2.0.3-2020-02-20_13:43/Linux5.3.0-28-generic/Java11(64)11.0.6+10-post-Ubuntu-1ubuntu118.04.1

Question information

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

should first be a question

RaiMan (raimund-hocke) said : #2

run from commandline with -v -c and evaluate the debug output.

Can you help with this problem?

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

To post a message you must log in.