java.lang.UnsatisfiedLinkError: /home/qaprice/staf/solaris/lib/ java: fatal: /home/qaprice/staf/solaris/lib / wrong ELF class: ELFCLASS64

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


This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

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 staf by tonnix
, 1 year ago
/home/qaprice/staf/solaris/lib/ java: fatal: /home/qaprice/staf/solaris/lib / wrong ELF class: ELFCLASS64
via staf by chockalingams
, 1 year ago
/usr/local/staf/lib/ '/usr/local/staf/lib/' is not a valid load module: Bad magic number
via staf by v1ct0rfan
, 1 year ago
/.amd\_mnt/fsqa/host/x/angus/staf/bin/fbsd\_x32/lib/ /usr/local/lib/compat/ Undefined symbol "\_\_malloc\_lock"
via staf by pappala
, 1 year ago
C:\STAF\bin\JSTAFSH.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
via Oracle Community by 843797, 1 year ago
[path to my library]: /usr/java/bin/../bin/sparc/native_threads/java: fatal: [path to my library]: wrong ELF class: ELFCLASS64
via staf by amyzhu
, 1 year ago
/Library/staf/lib/libJSTAFSH.jnilib:  no suitable image found.  Did find:  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture
java.lang.UnsatisfiedLinkError: /home/qaprice/staf/solaris/lib/ java: fatal: /home/qaprice/staf/solaris/lib / wrong ELF class: ELFCLASS64
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(

Users with the same issue

48 times, 3 weeks ago
Once, 1 month ago
Once, 6 months ago
Once, 1 year ago
14 times, 1 year ago

Write tip

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