Add NetBeans IDE to Ubuntu 14.04

We want to add NetBeans to Ubuntu.  So first we need to install Java:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Once the installer is finished, confirm your java version:

java -version

Now go to Netbeans, and download your version.  I am using the PHP/HTML version:

https://netbeans.org/downloads/

Download the archive and make it executible. 

chmod +x /netbeans-8.0-php-linux.sh

Now start the installer:

./netbeans-8.0-php-linux.sh