Netbeans 6.1 and Java jdk6 (jdk 1.6)

If you are as unlucky as me you will find that if you try to use netbeans with jdk 6, you will be thrown a greyed blank window. Now, this happened to me in solaris but it does not necessarily depend upos the os.
The solution is:
export AWT_TOOLKIT=MToolkit

or you can create an executable with the following line: “AWT_TOOLKIT=MToolkit netbeans”, and use this executable to start netbeans.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s