I have installed sikuli library in my linux environment. I am trying to use sikuli scripts for drag and drop , it throws java.lang.ExceptionInInitializerError . Kindly help on this
You must use the correct Java version.
What version you have?
java version “11.0.14” 2022-01-18 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.14+8-LTS-263)
Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.14+8-LTS-263, mixed mode)
The same is working fine in windows after changing to 64 bit. Issue in linux environment alone
My version of Java is the same, except that is from OpenJDK.
I recommend for you to troubleshoot by running the SikuliX IDE:
java -jar sikulixide-2.0.5-lux.jar &
Now try to reinstall libopencv_java (with system package manager).
I don’t know if you must install and use the OpenJDK.
Read the recommended doc in the error message.