To install Netbeans in Redhat Linux follow this step:
Download Netbeans sh file from http://download.netbeans.org/netbeans/8.2/final/bundles/netbeans-8.2-javase-linux.sh
after downloading, navigate to Downloads folder and give permission to the netbeans sh file with
Your Gift of $200 Cloud Hosting Credit is Here. Claim Now!
chmod -R 777 netbeans-8.2-javase-linux.sh
then execeute following command to run installer
Don't forget to subscribe!.
It will install Netbeans and alert you if any packages are needed like jdk and more.