Hardy, Java and crashing applications

Following up my problem description in my last post, I tried to get Eclipse (and other crashing Java applications) running with the Java 6 version that is shipped with Hardy.

The changelog of the packages sun-java-* (version 6.06) claims that the locking problems with XCB have been fixed upstream:

* New upstream bug fix release.
  - Release notes at http://java.sun.com/javase/6/webnotes/ReleaseNotes.html.
  - Fixes Xlib/XCB locking problems. LP: #86103. Closes: #414535.

But this is not the case, at least not for me.

Googling the problem showed a few potential workarounds, like



sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun/jre/lib/i386/libawt.so

Neither of them worked. So I’m back with Java 6 from Gutsy, which just works fine on Hardy.

I wonder whether I am the only one with these problems… are they going to release Hardy with a broken Java/XCB combination?

2 Responses so far »

  1. 1

    Mark Surman said,

    I am having the same problem. Where do you grab the gusty Java 6? How do you install? Just replace the Hardy version?

  2. 2

    Hannes said,

    You can download the deb files via packages.ubuntu.com. E.g. JDK 6 is available at http://packages.ubuntu.com/gutsy/sun-java6-jdk, just go to the bottom of the page and click the link to the download for your architecture.

    See also my other post https://electricbum.wordpress.com/2008/04/19/upgrade-to-hardy/ for a list of the Java 6 packages. You can simply install them via “dpkg -i $file.deb”.


Comment RSS · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: