← Back to team overview

sikuli-driver team mailing list archive

[Question #705147]: NoClassDefFoundError on Macbook M2 OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10)

 

New question #705147 on SikuliX:
https://answers.launchpad.net/sikuli/+question/705147

Need help with the below error on my Macbook M2 (MacOS Ventura) when I try to run scripts in Sikulix


Exception in thread "Thread-27" java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
	at com.sun.jna.Memory.malloc(Memory.java:722)
	at com.sun.jna.Memory.<init>(Memory.java:114)
	at com.sun.jna.ptr.ByReference.<init>(ByReference.java:57)
	at com.sun.jna.ptr.IntByReference.<init>(IntByReference.java:35)
	at org.sikuli.script.runners.AbstractScriptRunner.runAbortable(AbstractScriptRunner.java:316)
	at org.sikuli.script.runners.AbstractScriptRunner.runSynchronized(AbstractScriptRunner.java:377)
	at org.sikuli.script.runners.AbstractScriptRunner.runLines(AbstractScriptRunner.java:217)
	at org.sikuli.ide.EditorPane$5.run(EditorPane.java:1807)
	at java.base/java.lang.Thread.run(Thread.java:833)

Java Version is:

openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10)
OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (build 17.0.6+10, mixed mode)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.