Am using linuxmint 18.1 and i had the same issue. i realized that the open jdk i had didn't have the jfxrt.jar library.
Download another jdk from oracle and then install it. Remember to change the path in the netbeans.conf file in the netbeans installation folder.