rubbish lister
You are here: [ Homepage  ::   July 2006 ]

July 2006

Sunday, July 30th 2006
[ NetBeans 5.0 with Xgl/AIGLX and compiz ]
[ Posted at 11:48pm on Sunday, July 30th 2006 ]

Java developers running compiz with Xgl or AIGLX will have noticed a problem with running NetBeans 5.0 in that environment. In fact, there seems to be a problem with any Swing-based app running on Java 5.0 in that environment. A number of workarounds have been proposed (e.g. running a seperate instance of X.org using Xnest or switching temporarily to metacity while the application is running).

However, NetBeans 5.0 runs perfectly under Java 1.4.2, which doesn't appear to have any issues with compiz for some reason. Therefore, by installing Java 1.4.2 side-by-side with Java 5.0, NetBeans can be run as before.

Firstly, grab a copy of the 1.4.2 JDK from here (though I'm sure the JRE by itself will be fine). Then in the directory where you installed netbeans, find the "etc/netbeans.conf" file and change the "netbeans_jdkhome" option to the directory in which you installed your new copy of Java.