Tag Archives: java

Sun Java & Fedora

One more little bug down. I tried to run a Java application and instead got back the error:

java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.
Aborted

This is a known bug and can be fixed (assuming you have Sun’s Java installed in /opt) with the command (as root):

sed -i ‘s/XINERAMA/FAKEEXTN/g’ /opt/jre1.6.0_03/lib/i386/xawt/libmawt.so

Of course, you might need to change the path accordingly if you have a different version installed, or you’ve installed Java in a different place.