While trying to install Netbeans 8.0 in my Ubuntu 14.04 I get the following error:
Can`t initialize UI Running in headless mode
Exception: java.awt.HeadlessException thrown from the
UncaughtExceptionHandler in thread "main"
I have previously installed openjdk 7 and yet it's not working for some reason.