This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 120795 [details] screenshot Java project is set to source level 1.5; editor flags errors with tooltip "generics are not supported in -source 1.3". See attached screenshot. The following appears in the NetBeans log file: Even though the source level of /mnt/common/netbeans/weborder/src is set to: 1.5, java.lang.AssertionError cannot be found on the bootclasspath: /usr/lib/jdk1.7.0_04/jre/lib/resources.jar:/usr/lib/jdk1.7.0_04/jre/lib/rt.jar:/usr/lib/jdk1.7.0_04/jre/lib/sunrsasign.jar:/usr/lib/jdk1.7.0_04/jre/lib/jsse.jar:/usr/lib/jdk1.7.0_04/jre/lib/jce.jar:/usr/lib/jdk1.7.0_04/jre/lib/charsets.jar:/usr/lib/jdk1.7.0_04/jre/lib/jfr.jar:/usr/lib/jdk1.7.0_04/jre/classes:/usr/lib/jdk1.7.0_04/jre/lib/ext/dnsns.jar:/usr/lib/jdk1.7.0_04/jre/lib/ext/sunjce_provider.jar:/usr/lib/jdk1.7.0_04/jre/lib/ext/localedata.jar:/usr/lib/jdk1.7.0_04/jre/lib/ext/sunec.jar:/usr/lib/jdk1.7.0_04/jre/lib/ext/zipfs.jar:/usr/lib/jdk1.7.0_04/jre/lib/ext/sunpkcs11.jar Changing source level to 1.3 Java Platform Manager shows "JDK 1.7 (Default)", pointing to the correct location where I have 7u4 installed (/usr/lib/java, which is a symlink to /usr/lib/jdk1.7.0_04).
Bug #214131 is the root cause, AFAIK. *** This bug has been marked as a duplicate of bug 214131 ***