java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: wrong ELF class: ELFCLASS32 (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 Ask Ubuntu by Dhaval Simaria
, 1 year ago
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
via Stack Overflow by BlueDog
, 1 year ago
/Library/Java/Extensions/librxtxSerial.jnilib: no suitable image found. Did find: /Library/Java/Extensions/librxtxSerial.jnilib: no matching architecture in universal wrapper
via openremote.org by Unknown author, 1 year ago
C:\Users\admin\Downloads\OpenRemote\webapps\controller\WEB-INF\lib\native\rxtxSerial.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
via Coderanch by mark meandro, 1 year ago
/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/librxtxSerial.so: /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
via Stack Overflow by vico
, 2 years ago
/opt/pnt/lib/librxtxSerial.so: /opt/pnt/lib/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
via mpi.nl by Unknown author, 1 year ago
/home/yo/apps/ELAN_4.0.0/jmf__Vlin2.1.1fcs/libfobs4jmf.so: /home/yo/apps/ELAN_4.0.0/jmf__Vlin2.1.1fcs/libfobs4jmf.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83)
at undefined.ListAvailablePorts.list(ListAvailablePorts.java:11)
at undefined.ListAvailablePorts.main(ListAvailablePorts.java:17)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
304 more bugmates

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