Error: Java: xcb_xlib.c Solution

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.