Netbeans on Fedora 22

Fedora repos already contain Netbeans, but it does not have to be the latest version. Here we are going to install the latest release of Netbeans.

Created
2015
Updated
June 30, 2016

Download

Download installation file from https://netbeans.org/downloads/index.html.

Install

Run downloaded file. If you get the following error, Exception: java.awt.HeadlessException thrown from the UncaughtExceptionHandler in thread "main", install java JDK

$ sudo dnf install java-1.8.0-openjdk

Or you can download Netbeans with Java JDK included: http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html