This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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.