Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Netbeans 6.8 on Ubuntu Linux and for a while now everytime I start Netbeans it opens up the same 3 files. How can I make sure the IDE starts without opening any files I am sure did close the last time?

share|improve this question
up vote 1 down vote accepted

If you do not have permission to (over)write files in the $HOME/.netbeans directory tree, NetBeans will not be able to update its state. May be you started NetBeans as root user while $HOME was still pointing to your login directory.

Can't verify it at the moment, but I hope, it helps.

share|improve this answer
I've chowned the ~/.netbeans folder to <myuser>:user recursively, cleared the cache directory of netbeans (under ~/.netbeans/<version>/var/cache/index/) and made some modifications to the launcher (instead of /bin/sh "/usr/local/netbeans-6.8/bin/netbeans" I omitted the /bin/sh part) and now it seems to work. Thanks for the tip Klaus! – Action Hank May 20 '10 at 15:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .