3

I've installed Netbeans 8.0 on Ubuntu 12.04. After that I updated the operating system and now the Ubuntu version is 14.04.

Netbeans was installed in the default folder. I did not specify any custom folder for installation.

Netbeans asked to install updates, but was unable to continue the operation, because Netbeans was not running under root permissions.

How can I start Netbeans with root permissions?

What sudo command should be executed in terminal to launch Netbeans as root?

I searched this in Google but did not find a working answer.

1 Answers1

3

It's not advised to use sudo against graphical applications, try to run it with gksu:

gksu netbeans

Or if the executable is not systemwide, cd to where it is located and:

gksu ./netbeans