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.
When build project in Netbeans 6.0 (5.5.1 also), javac can't recognize parsed in argument with -J switch in JDK 1.6.0. It works in JDK 1.5.0. Argument set at: Project properties > Build > Compiling > Additional Compile Options When set -J-Xmx500m for a large project, it reports the following error: javac: invalid flag: -J-Xmx500m Usage: javac <options> <source files> use -help for a list of possible options
Reassigning to "java"...
Maybe difference between default and non-default platform?
Change the default platform to non default one. The default platform does not fork new process (<javac fork="false" ...). To resolve the problem while using the JDK 1.6.0 add new platform in the Java Platform Manager with the same install folder as the default platform and use the non default one.