This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Sounds like a NetBeans error to me. Did you possibly install a new JDK (and remove and old one) after installing NetBeans? Look in netbeans_home/etc/netbeans.conf and fix the value of the netbeans_jdkhome property.