– Open Source World –

Compiz+Java: NO PROBLEM!

Posted by thio4linux on October 11, 2007

the real way to solve the problem of compiz with java!

i think that there’s a lot of people with my problem… i’ve found the solution:

open this file:

sudo gedit /etc/rc.local

insert on the bottom of the file but before exit 0 this line:

export AWT_TOOLKIT=MToolkit

now you must have something like this:

#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0″ on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
# By default this script does nothing.

export AWT_TOOLKIT=MToolkit

exit 0

then restart your distro…….

if you still have some problems type in your terminal: export AWT_TOOLKIT=MToolkit before opening your java apps………… that’s all folks!!! have fun 😉


3 Responses to “Compiz+Java: NO PROBLEM!”

  1. Martin said

    That *NOT* the real and good way to fix the problem.

    Ex.: This might help a java application, let say Netbeans;
    But the apps you would develop and ran under that IDE won’t see the MToolkit flag.

  2. thio4linux said

    are you sure that the apps won’t see the MToolkit flag???
    this is the only way i’ve found to go over this problem… now with Gutsy there’s no problem but in Feisty wasn’t the same…

  3. Dagoberto said

    and what about intrepid?. I have problems whit Cmaptools and Beryl.

Leave a Reply

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

You are commenting using your 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: