← Back to team overview

openjdk team mailing list archive

[Bug 258374] Re: Java update breaks apps for some window managers

 

** Changed in: openjdk-6 (Ubuntu)
Sourcepackagename: None => openjdk-6

-- 
Java update breaks apps for some window managers
https://bugs.launchpad.net/bugs/258374
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: New

Bug description:
The recent Java update for OpenJDK, I believe, (~ Aug 14, 2008) breaks some Java applications in window managers such as Awesome (and others).

>From the Awesome FAQ:
"Java applications which use the XToolkit/XAWT backend may draw grey windows only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround you can use JDK 1.4 (which doesn´t contain the XToolkit/XAWT backend) or you can set the following environment variable (to use the older Motif backend instead): AWT_TOOLKIT=MToolkit"

Not sure how you would handle this but my application was working fine before the update and then broke unceremoniously afterward -- switching to another WM worked fine as did adding the AWT_TOOLKIT parameter.  It just took a little research to find a fix.

I was switching back and forth between the sun-java package and the openjdk -- I was able to get the parameter method to work using the sun version, it didn't look like the OpenJDK version work with the parameter.

Sun  Version (not sure this one ever worked right with Awesome):
Package: sun-java6-jre
Source: sun-java6
Version: 6-06-0ubuntu1

Old OpenJDK that worked:
6b09-0ubuntu2

New that seemed to break with the update:
6b11-2ubuntu2