java.lang.UnsatisfiedLinkError: /test/software/libraries/libraries/bin/libxejni.so: ld.so.1: java: fatal: /test/software/libraries/libraries/bin/libxejni.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Solutions on the web

via Stack Overflow by user3520080
, 1 year ago
/test/software/libraries/libraries/bin/libxejni.so: ld.so.1: java: fatal: /test/software/libraries/libraries/bin/libxejni.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
via Stack Overflow by user2091416
, 2 years ago
C:\Program Files (x86)\Java\jre7\bin\jpcap.dll: Can't find dependent libraries
via Stack Overflow by osyan
, 2 years ago
C:\*****\jniDLL.dll: Can't find dependent libraries
via Stack Overflow by user6189
, 2 years ago
a/b/c/alibrary.dll: Can't find dependent libraries
via Stack Overflow by william pagnon
, 2 years ago
C:\Windows\System32\HelloWorldImp.dll: Can't find dependent libraries
via Stack Overflow by Peter Rader
, 2 years ago
C:\Users\Peter\Documents\workspace\Bar\foo.dll: Can't find dependent libraries
java.lang.UnsatisfiedLinkError: /test/software/libraries/libraries/bin/libxejni.so: ld.so.1: java: fatal: /test/software/libraries/libraries/bin/libxejni.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 2 months ago
23 times, 1 year ago
305 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.