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
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
解决SunJava与Fedora8兼容性问题
2万+

被折叠的 条评论
为什么被折叠?



