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.
This is OpenSuse 11, Netbeans 6.5 RC1. JDK 1.6.0_10. When doing the compilation, I got this: javac: invalid flag: -J-Xmx1024m Usage: javac <options> <source files> use -help for a list of possible options The commandline compilation with -J-Xmx1024m works fine.
Due to RC1, change to P1
There is a discussion on this: http://markmail.org/message/ue2kpktjdmqojzsv
I presume you use J2SE Project. When using the default build script and the default platform (the one that the IDE is running on), the compiler runs in the same VM as does the IDE, and the VM arguments are not supported in this case. If you need to use VM arguments for the compiler, you need to use non-default platform. See e.g.: http://www.netbeans.org/issues/show_bug.cgi?id=68724 http://www.netbeans.org/issues/show_bug.cgi?id=96087