Minecraft Wiki
Advertisement

Wrong ELF class: ELFCLASS32[]

Problem

You try to run Minecraft and you get an error report about having the wrong ELF class.

   Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError:
       /home/taylor/.minecraft/bin/natives/liblwjgl.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:1928)
           at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
           ...

Cause

The OpenGL library cannot find the files that it need.

Solution There are two potential solutions:

  1. Update the OpenGL files Update your LWJGL drivers
  2. Switch from using OpenJDK to using OracleJRE, which is in the sun-java6-jre package.
Advertisement