← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #164442]: Runtime java exception when running on Ubuntu 11.04

 

Question #164442 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/164442

Description changed to:
OS is Ubuntu 11.04
I've installed the following prerequisites:
  Java Runtime Environment 6b22-1.10.2-Oubuntu1~11.04.1 (openjdk-6-jre)
  wmctrl
  OpenCV 2.1 (libcv2.1, libcvaux2.1, libhighgui2.1)

I'm getting an exception that leads me to believe I've somehow installed
incompatible versions of some libraries?  My machine is a 32-bit version
and 'uname -m' says i686.

Here's the dump when I run the Sikuli IDE using "sh sikuli-ide.sh"

[info] locale: en_US
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/sikuli/Sikuli-X-1.0rc2-linux/Sikuli-IDE/libs/libJXGrabKey.so: /tmp/sikuli/Sikuli-X-1.0rc2-linux/Sikuli-IDE/libs/libJXGrabKey.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
    at java.lang.Runtime.load0(Runtime.java:787)
    at java.lang.System.load(System.java:1022)
    at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
    at org.sikuli.ide.NativeLayerForLinux.initIDE(NativeLayerForLinux.java:24)
    at org.sikuli.ide.SikuliIDE.<init>(SikuliIDE.java:661)
    at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:130)
    at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:913)

Any ideas on what might be causing this?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.