There’s something wrong that I couldn’t detect. After jre 1.7.0._u11 update, netbeans doesn’t work anymore.
A simple Test.java like this throws an error:
public class Test {
public static void main(String[] args) {
System.out.println("Go Forrest!");
}
}

I’ve changed the jdk to 1.7.0_u11 too, and set manually netbeans_jdkhome variable in the file netbeans.conf, but the problem remains.
I’m using netbeans 7.2.1. on Mac and have uninstalled and installed it again.
Has anyone faced this same problem?
Thanks in advance!
After restarting my computer, it returned to work normally.