Basically i screwed up my previous eclipse installation. I had deleted few folders related to some plugins(which i don't remeber now). After that instance only the Eclipse bootsplash shows up after which i see eclipse in the top bar of gnome shell indicating eclipse has started. But there is no window showing up (or the eclipse window is invisible).
I tried all the methods prescribed here Eclipse hangs on loading workbench. Eclipse GUI doesn't show up only in my user account but it works when i load from guest user account.
I have also tried uninstalling and reinstalling eclipse many times. Please can someone help me solve this issue.
PS: Running eclipse from command line doesn't show any exceptions.