Fedora 8 & Java 6 BUG

Wednesday, November 14, 2007

There is a bug in the Java installation in Fedora 8 and in other Linux distributions.
The bug details are reported at this URL.

In short, the problem is:

"Starting up any java app that uses awt gives this error immediately upon startup. E.g. jconsole. See this forum post: http://forum.java.sun.com/thread.jspa?threadID=782829
The error is: xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed.
This occurs with the latest 1.7.0-b09 snapshot build.
However if I build 1.7.0-b09 (svn trunk revision #70) from source on my machine,
it works fine in both the regular binary and fastdebug binary,
so this could be related to something in the standard build environment,
or perhaps related to the defines in XlibWrapper.c that look related
to locking and are only enabled on internal builds."

A workaround can be attempted using the following comand:

sed -i 's/XINERAMA/FAKEEXTN/g' /opt/jdk1.6.0_03/jre/lib/i386/xawt/libmawt.so

The same problem can be experienced in applets, as reported by Luca in his post.

You Might Also Like

1 commenti

Subscribe