HeadlessException when installing NetBeans
Hey!
I downloaded NetBeans 8.1 from the NetBeans website as a .sh file. I followed the instructions and executed it but I got the following:
Configuring the installer... Searching for JVM on the system... Extracting installation data... Running the installer wizard... Can`t initialize UI Running in headless mode
Exception: java.awt.HeadlessException thrown from the UncaughtExceptionHandler in thread "main"
I then tried to download the official JRE from Oracle as .tar.gz into my Downloads folder and executed:
tar zxvf jre-8u91-linux-x64.tar.gz
This extracted everything and that's where Oracle's instructions ended, but I'm new to using the Linux terminal so is that the JRE installed properly? I tried running the NetBeans installer again but it gave the same error.