`
beyond429
  • 浏览: 93663 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics