Install Netbeans IDE on Ubuntu :
Step -1
Download sh file of Netbeans IDE from here according to your requirement.
If you want it for JAVA SE / EE or C/C++ or PHP or all. They have all options.
Download your desired sh file.
Step-2
Install openjdk on Ubuntu. Run following command.
Step-3
Now execute the downloaded sh file of Netbeans IDE.
Complete the wizard.
Note :
If third step gives you permission denied error, it means your downloaded sh file is not executable, make it executable using
Step -1
Download sh file of Netbeans IDE from here according to your requirement.
If you want it for JAVA SE / EE or C/C++ or PHP or all. They have all options.
Download your desired sh file.
Step-2
Install openjdk on Ubuntu. Run following command.
sudo apt-get install openjdk-6-jdk
or
sudo apt-get install openjdk-7-jdk
Step-3
Now execute the downloaded sh file of Netbeans IDE.
sh /path/of/downloaded/sh-file.sh
Complete the wizard.
Note :
If third step gives you permission denied error, it means your downloaded sh file is not executable, make it executable using
chmod a+x /path/of/downloaded/sh-file.sh