ZoneO-tips for Mandriva Linux

Mandriva 2007, 3D desktop and java

I installed Mandriva 2007 recently. The new 3D desktop is absolutely amazing, but my java applications are all empty. Help?!

 
 

Actually, this problem is described in the release notes, but I agree with you it is pretty hard to find!

So what is the problem exactly? Well, some java applications show a blank grey screen. The odd thing is, you can click on where things should be (such as the top menu bar) and you'lll see what you’re supposed to... The origin of the bug isn't clear to me but it's very inconvenient anyway!

It's really bad though. It only happens when you activate the 3D functions, based on compiz and XGL and I really like this 3D desktop that comes with Mandriva 2007. It would be a pain to get rid of it for the sake of a couple of java applications!

Lucky enough, there is a fix. If you're using a bash shell, the default in Mandriva, edit the file ~/.bash_profile (that is, the file .bash_profile in your home directory) and add the following lines

AWT_TOOLKIT=MToolkit
export AWT_TOOLKIT
If you're using tcsh as a shell, add
setenv AWT_TOOLKIT MToolkit
to your ~/.cshrc (that is, the file .cshrc in your home directory).

Log-out, log-in, and you should be all set!

 
 
11/2006
 

Richard Forster, 25 February 2007

I tried this fix, but it didn't work until I upgraded to using jre 1.5 (had been jre 1.4.2). After that - sweet!

Add a comment

Name:
Email or URL: (optional)
Security code
Code shown above:
 
 
© ZoneO-soft - Contact us - Start page