Linux – Debian install netbeans – “No protocol specified”

debianjavalinuxterminal

When trying to run the netbeans shell installer, it gives me an error.

./netbeans-7.0.1-m1-php-linux.sh
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
No protocol specified

This error came after I did export DISPLAY=:0.0 because that was an error too. Any ideas?
This is on debian by the way

Best Answer

I guest this comes too late, but instead of calling it from root you can try as the normal user with:

sudo ./netbeans-whatever.sh

or

sudo sh netbeans-whatever.sh

It seems to work also with uninstaller. You can also install as user for the user without using sudo.