sudo apt-get install openjdk-6-jdk -y

cd /tmp

http://dlc.sun.com.edgesuite.net/netbeans/7.2/rc/bundles/netbeans-7.2rc1-ml-php-linux.sh

sudo sh netbeans-7.2rc1-ml-php-linux.sh