Question: Question: How to fix following MizBee error

Abhimanyu Singh
51 days ago

Question: How to fix following MizBee error

I got the following error while running MizBee.How to fiw it.

./MizBee                                    []
OpenJDK 64-Bit Server VM warning: You have loaded library /home/abhi/Downloads/application.linux(1)/application.linux/ which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: /home/abhi/Downloads/application.linux(1)/application.linux/ /home/abhi/Downloads/application.linux(1)/application.linux/ wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
    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(
    at com.sun.gluegen.runtime.NativeLibLoader.loadLibraryInternal(
    at com.sun.gluegen.runtime.NativeLibLoader.access$000(
    at com.sun.gluegen.runtime.NativeLibLoader$
    at Method)
    at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(
    at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(
    at com.sun.opengl.impl.x11.DRIHack.begin(
    at com.sun.opengl.impl.x11.X11GLDrawableFactory.(
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at processing.opengl.PGraphicsOpenGL.allocate(
    at processing.core.PGraphics3D.setSize(
    at processing.core.PApplet.makeGraphics(
    at processing.core.PApplet.size(
    at processing.core.PApplet.size(
    at MizBee.setup(
    at processing.core.PApplet.handleDraw(


install 32 bit version of java (dont remove 64 bit,Keep both) and make it default (sudo update-alternatives --config java) then try.


If it is not fixed by Pradyuma approach. You could try following

Type: execstack --version to check if you already have execstack installed.

If you get command not found type: sudo apt-get install execstack -y --force-yes

Type sudo execstack -c e.g sudo execstack -c /usr/lib/

I hope it gonna fix the error.