java.lang.UnsatisfiedLinkError: [path to my library]: ld.so.1: /usr/java/bin/../bin/sparc/native_threads/java: fatal: [path to my library]: 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 Oracle Community by 843797, 1 year ago
[path to my library]: ld.so.1: /usr/java/bin/../bin/sparc/native_threads/java: fatal: [path to my library]: wrong ELF class: ELFCLASS64
via Google Groups by %NAME%, 2 years ago
/XXXXX.so: ld.so.1: /software/javajdk-1.5/bin/sparcv9/java: fatal: /XXXXX.so: wrong ELF class: ELFCLASS32
via Stack Overflow by jasonline
, 2 years ago
librvjs11.so: ld.so.1: java: fatal: librvjs11.so: wrong ELF class: ELFCLASS32
via Oracle Community by 843829, 1 year ago
abc.so: ld.so.1: myC: fatal: abc.so: wrong ELF class: ELFCLASS32
via Google Groups by Klaus Leopold, 3 months ago
/path/to/my/native/library.so: libSharedLinkedLib.so: cannot open shared object file: No such file or directory
via Oracle Community by 843829, 1 year ago
[dir left out]/libloadstat.so: ld.so.1: java: fatal: relocation error: file [dir left out]/libloadstat.so: symbol nanosleep: referenced symbol not found
java.lang.UnsatisfiedLinkError: [path to my library]: ld.so.1: /usr/java/bin/../bin/sparc/native_threads/java: fatal: [path to my library]: wrong ELF class: ELFCLASS64
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)

Users with the same issue

48 times, 4 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.