The following questions are prompted:
Java: xcb_xlib.c: 50: xcb_xlib_unlock: assertion 'C-> xlib. lock' failed.
After googling from multiple parties, it turns out to be a bug. About SUN-JDK bug
Solution:
First, modify the JavaProgramCode. This method is too troublesome. If you want to install multiple Java programs, you must modify them by yourself, and they may not be able to be modified.
Second, go back to libx11.
When you detach the following two packages, you may not be able to detach them due to dependency issues. Add the -- nodeps parameter to force detach the package.
The packages in fedora 8 Test 3 are:
LibX11-1.1.3-4.fc8.i386.rpm
LibX11-devel-1.1.3-4.fc8.i386.rpm
Install the following two RPM packages and download them from the RPM serch website. Connect to the RPM serch website
LibX11-1.0.3-8.fc7.i386.rpm
LibX11-devel-1.0.3-8.fc7.i386.rpm
Remember to exclude the two fc8 packages from update during Yum update.
[Marco. Chan @ fedora8 ~] $ Sudo VI/etc/yum. conf
# List of packages to exclude from updates or instils
Exclude = libx11 libX11-devel
It seems that this problem also exists in the new Ubuntu version and is expected to be solved officially...