1. Make sure, You Added PPA repository to my Ubuntu.
sudo add-apt-repository ppa:ferramroberto/java
2.After adding PPA, update your system apt:
sudo apt-get update
3.Install the Java Development Kit:
sudo apt-get install sun-java6-jdk
If you have problem with java installation , take a look to install-java-and-java-browser-plugin-ubantu-11-10 .
4. Go to the folder where you want to download NetBeans and download by typing:
5.Give yourself permissions to execute the install script you have just downloaded:
chmod u+x netbeans-7.0.1-ml-php-linux.sh
6. Now run netbeans:
Just do next as window, and click desktop icon to start NetBeans:
That’s it. Enjoy……………