I made the mistake of installing NetBeans as root:
sudo sh /opt/myDirectory/netbeansInstaller.sh
I installed it, launched it, and created a dummy project just to get familiar with it. Then I closed NetBeans and came back to it later on in the day. When I try to open/run NetBeans as my normal user, it launches with all sorts of error messages complaining about denied permissions
So I uninstalled NetBeans completely using the uninstaller, and even deleted the project I created with it. I even deleted the installer itself out of my Downloads folder.
I re-installed NetBeans as normal user, and am still getting permissions errors. Now what happens is it launches, generates some error popups, and then freezes completely. I notice that it is still attempting to launch my deleted project by default
Here is what I think is happening:
- I run NetBeans as normal user
- NetBeans has cached, somewhere, that my old project (which was created when I was using the old NB install as root) is the project to load at startup
- It automatically complains that it can't load the project properly because I'm not root
- It can't find my old project (because its deleted) and so it freezes in this "wait state"
Has anybody else ever had this problem? Any way to force NetBeans (perhaps from the terminal) to do a "clean load" where it won't attempt to load any projects? ANy other obvious solutions?