This blog is subject the DISCLAIMER below.

Sunday, February 25, 2007

Running Netbeans on XGL

If you tried to use Netbeans on XGL before, you probably know that you can't do it. It shows like an empty window. The solution being around is that you use a nested X server and so on. Other solutions include recompiling the JRE.

Well, I ran into a simple solution. You can add this to /etc/environment, and viola, it is working:
AWT_TOOLKIT="MToolkit"

For command line guys:
sudo echo 'AWT_TOOLKIT="MToolkit"' >> /etc/environment

Have fun ;)

http://ubuntuforums.org/showpost.php?p=1687890&postcount=4

2 comments:

Anonymous said...

Hi,

I'm the Community Docs Manager for NetBeans. I've read your blog entry, and I think this would be great content for our Community Docs wiki page. Would you be interested in contributing this in the category "Tips and Tricks"?

I look forward to your reply.

James Branam
NetBeans Community Docs manager
james.branam@sun.com

Mohammad Alaggan said...

http://wiki.netbeans.org/wiki/view/CommunityDocs