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
