LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-03-2008, 03:18 PM   #1
acidblue
Member
 
Registered: Apr 2003
Posts: 152

Rep: Reputation: 15
I got the 'xcb_xlib unlock error for java, fix i found doesn't work


I have the dreaded xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed for java.
I followed this guide for installing java:
http://www.my-guides.net/en/content/.../1/5/#sun_java
I tried the fix thats listed, but it doesn't work:
sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/xawt/libmawt.so

This doesn't work becuase there isn't any java-6 file in jvm,
in fact the jvm folder is completely empty.
I just don't understand, shouldn't jav-6-sun* be in the jvm folder?
Has anyone else followed this guys guide and had success with the fix?
I followed the guide as stated, but something must have gone wrong.
Is there another fix or should i try again.
BTW when i do: /usr/sbin/alternatives --config java
I get nothing, just a prompt, i didn't install the 'ice tea' version.
but shouldn't it at least list one i did install?
So confused right now. any help would be appreciated.
 
Old 05-07-2008, 05:43 AM   #2
axelfc
Member
 
Registered: Jan 2006
Distribution: ArchLinux
Posts: 175

Rep: Reputation: 34
Did you change all the commands to java's latest version?

$ sudo mv jre-6u3-linux-i586.bin /opt -> $ sudo mv jre-6u6-linux-i586.bin /opt etc


Before typing /usr/sbin/alternatives --config java did you created the java.sh file and did you install it in alternatives with

/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0_03/bin/java 1

(In my guide I use value 3 because I have the icedtea plugin installed. You should use 1)


I just rechecked my guide and installed jre 6u6 in a virtual machine. All the commands worked fine (of course I had to change the version from update 3 which is in the guide to update 6 which is now the latest). Moreover I didn't get the xcb error. What is your system's libxcb version? I currently have 1.0-4 Is your system fully updated? Try as root

yum update yum


If nothing of the above works have you downloaded the right file?

http://java.sun.com/javase/downloads/index.jsp ->
Java Runtime Environment (JRE) 6 Update 6 ->
Platform: Linux ->
Linux self-extracting file
jre-6u6-linux-i586.bin

Last edited by axelfc; 05-07-2008 at 05:50 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FIX: wine error "No Program Start Menu Found" JackSmith Linux - Games 3 07-02-2009 10:38 PM
MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. deepumnit Linux - Desktop 2 07-15-2008 09:21 PM
xorg-x11-libxcb Java fix for BOINC etc.... Found Bug fixed but where do I get it rundarm Fedora 4 12-10-2007 04:10 PM
possible fix error imlib-config not found aus9 Linux - Newbie 2 08-14-2006 08:24 AM
java: command not found error when using cron gschrade Linux - Software 6 08-04-2004 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration