JAVA libxcb bug 的解决方法

Currently there is a bug with Sun Java because it is incompatible with the newer libX11 included in Fedora 8. If you get an error like this xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed here is the workaround:



1. export LIBXCB_ALLOW_SLOPPY_LOCK=1

2. yum --enablerepo=development update libxcb



或者:



For sun-java5-bin:

sed -i 's/XINERAMA/FAKEEXTN/g' /usr/java/jdk1.5.0_15/jre/lib/i386/xawt/libmawt.so

你可能感兴趣的:(java,C++,c,C#,sun)