0

I ran netbeans through the terminal with sudo and now everytime I open it I get this message:

Netbeans message

it also takes longer to load.

muru
  • 197,895
  • 55
  • 485
  • 740
Mario
  • 3
  • Why in the world are you running an IDE as root? Do you get this error if you run it as a regular user? Is this on Ubuntu or the Windows Subsystem for Linux? – terdon Jan 17 '17 at 09:25
  • I ran it once to see if this would solve another issue which I have already resolved. Yes, this warning is as a regular user. Ubuntu and nothing more. – Mario Jan 18 '17 at 05:07

1 Answers1

0

When you ran it with sudo, you caused it to change the ownership of its config files to root. This is a common problem when running graphical programs with sudo.

The fix is simple enough, just change the ownership back. Open a terminal and run:

sudo chown -R mario:mario /home/mario/.netbeans
terdon
  • 100,812