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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s