How to install java JDK 8 && NetBeans IDE 8.0.1(Linux sudo code )
#How to install java JDK 8
Step 1: Install Java SE Development Kit (JDK) 8
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Step 2: Download NetBeans Installer
wget http://download.netbeans.org/netbeans/8.0/final/bundles/netbeans-8.0-php-linux.sh
#Install NetBeans IDE 8.0.1 on Ubuntu 14.04 & Ubuntu 14.10 && Kali linux
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
wget http://dlc.sun.com.edgesuite.net/netbeans/8.0.1/final/bundles/netbeans-8.0.1-linux.sh
chmod +x netbeans-8.0.1-linux.sh
./netbeans-8.0.1-linux.sh
Step 1: Install Java SE Development Kit (JDK) 8
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Step 2: Download NetBeans Installer
wget http://download.netbeans.org/netbeans/8.0/final/bundles/netbeans-8.0-php-linux.sh
#Install NetBeans IDE 8.0.1 on Ubuntu 14.04 & Ubuntu 14.10 && Kali linux
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
wget http://dlc.sun.com.edgesuite.net/netbeans/8.0.1/final/bundles/netbeans-8.0.1-linux.sh
chmod +x netbeans-8.0.1-linux.sh
./netbeans-8.0.1-linux.sh