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. |
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 |
All times are GMT -5. The time now is 09:29 AM. |