compiz

compiz

Java and compiz issue reprise

Posted by gtrev on Ven, 07/09/2007 - 12:03 in

Do you remember of the problems between java and compiz that I talked about in a recent post?

I thought I solved them by using a recent version of the jdk (precisely 1.6.0_02 build 05) but I was wrong.

It seems that some weird behaviors are still present, for example when netbeans displays a JDialog.

I found another bug for this problem, which is still work in progress, precisely 6509038.

A german user commented on the bug that this issue is still present in jdk6 update 2 but not in jdk7. Yes you read it right.

jdk7 is still under development, but developers produce weekly snapshots at this site.

So I downloaded and installed the linux version (amd64 of course), configured netbeans to use this jdk and magically everything started working fine!

So if you don't fear of using a jdk under development and you are bored of weird issues on netbeans GUI, give jdk7 a try!

By the way, I'm using netbeans 6.0M10 and jdk7 which are both development versions and they are pretty stable! Kudos to both development teams!

Java and compiz issue

Posted by gtrev on Sab, 28/07/2007 - 09:41 in

As you may know, I've installed compiz on my linux box, and I feel very comfortable with it.

But sometimes I stumble on some weird problems when using java applications like Netbeans.

The problem is that windows don't dispose very well, all that you see is a gray screen with nothing on it.

This seems to be a well known issue (see bug 6429775) on jdk:

the problem is that AWT filters out all ConfigureNotify if the toplevel is not reparented.
But Compiz doesn't reparent windows at all.
Possible solution would be detect if we are under Compiz and do not filter events

from the discussion on bug 6429775

There is a patch in new releases of jvm, so if you experience this problem, try to upgrade to sun jdk 1.6.0 u02.

Syndicate content