There is a quick fix for this issue.
Write a wrapper script (eclipse.sh) including following lines
export GDK_NATIVE_WINDOWS=1 # This line contains the fix.
/home/sajith/Dev/IDE/eclipse/eclipse # This line is for executing eclipse.
If it is installed you should see the output on the package where two lines show this:
Package: pppoeconf
Status: install ok installed
If the package is not installed, insert your Ubuntu CD and in a terminal type:
sudo apt-get install pppoeconf
If the package cannot be found, you may have to add your Ubuntu CD to the list of software repositories. To add your CD, make sure it is inserted in your CD drive and in a terminal type:
sudo apt-cdrom add
After successfully installing PPPoE package,
$ sudo pppoeconf
And a text based interactive menu is prompted. Provide the relevant information, and your connection is
set up now.
To start your ADSL connection on demand, in a terminal type:
$ pon dsl-provider
To stop your ADSL connection, in a terminal type:
poff dsl-provider