Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.