From Fedora Project Wiki

NetBeans is a free and open-source IDE that is written in Java and used for writing applications in C, C++, HTML5, Java, JavaScript, PHP and more.


To install NetBeans on Fedora merely install Java with:

sudo dnf install java-1.8.0-openjdk

and go to the downloads page of NetBeans and download the Linux shell script installer. Then mark it as executable (with chmod +x), and run it.