You are not logged in.

#1 2007-12-27 14:54:12

vis
Member
From: Switzerland
Registered: 2007-02-25
Posts: 81

Upgrade broke Java, temporary hack

After an upgrade a couple of days ago, Java applets did not run on the browser. No error messages, no coffee cup, nothing, just a blank area.

Only later I noticed that not even a Hello World! applet run on Eclipse. At least it showed an error message, roughly "Locking assertion failure.  Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0xb7cca767]"

Through a web-search found a random hack, which amounted to "sed -i 's/XINERAMA/FAKEEXTN/g'  /opt/java/jre/lib/i386/xawt/libmawt.so" which worked like magic. Just wanted to share the information, in case the problem still exists.

Offline

#2 2008-01-14 19:42:00

raroman
Member
From: Sweden
Registered: 2008-01-05
Posts: 29

Re: Upgrade broke Java, temporary hack

Thanks vis, working here too
smile

Offline

#3 2008-02-22 18:57:18

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: Upgrade broke Java, temporary hack

Whatever it does, it works. big_smile

Offline

#4 2008-04-11 19:23:12

domanov
Member
From: Italy
Registered: 2006-11-10
Posts: 45

Re: Upgrade broke Java, temporary hack

This hack is still needed to run (for example) jabref with the new jre 6u5-1.

I suggest making this post sticky. I've lost couple of hours googling around in bbs to find out a solution.

domanov

Offline

#5 2008-04-11 21:07:24

raroman
Member
From: Sweden
Registered: 2008-01-05
Posts: 29

Re: Upgrade broke Java, temporary hack

My goodness, me too. Three months after my first post, I upgraded jre and forgot about this stupid patch thingy. Is still neccessary :-(

Offline

#6 2008-04-11 21:49:04

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Upgrade broke Java, temporary hack

You might want to report it as a bug then... It's quite normal that this doesn't get fixed if you don't tell the devs about it.

Offline

#7 2008-04-11 21:55:26

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: Upgrade broke Java, temporary hack

this just confirms wat iphitus was talking about

http://bbs.archlinux.org/viewtopic.php?id=46887

try to contrib and report the bug


Its a sick world we live in....

Offline

#8 2008-04-12 03:10:26

domanov
Member
From: Italy
Registered: 2006-11-10
Posts: 45

Re: Upgrade broke Java, temporary hack

After searching the flyspray for already opened jre bugs, I just filed the #10162 (http://bugs.archlinux.org/task/10162).
Is there any other way to propagate this simple fix (one sed command on one file) other than just provide a whole new jre package?

domanov

Offline

Board footer

Powered by FluxBB