If I tell NetBeans (6.9) to compile on save, NetBeans warns me the compiled classes are not identical to classes compiled with JDK\'s compiler. The Java platform is set to \
Like Eclipse, Netbeans does not use standard javac
so that it can offer incremental compilation and compilation of classes containing methods that have syntax errors.
Unlike Eclipse (which uses its own Eclipse Java Compiler), Netbeans actually uses the internal API of javac for compiling, syntax highlighting, and error detection. This is a nice advantage, in that Netbeans is able to handle all of the latest Java language features and faithfully reproduces any nuances or bugs of javac's behavior.
sources: