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.
Summary: | [50cat] "-J-Xmx512m" option not accepted when using default Java Platform | ||
---|---|---|---|
Product: | java | Reporter: | host <host> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | cezariusz |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
host
2005-11-15 11:34:41 UTC
I don't think it's defect at all, because javac is executed in the same JVM as IDE is running on and it's not possible to pass "-J" arguments to the process. If the javac is executed in non-default JVM it's different case becasue such process is started for each Ant script execution and so it's possible to pass any args you want. This is not a bug, it is documented behavior of the default platform. The default platform does not fork the javac or java (it is the default way how Ant works), this is much more faster, but you cannot pass the -X options to it, it runs in the IDEs heap. If we change it users will complain about it. The project customizer should warn user about it, there is a issue about adding the warning into the project's customizer: http://www.netbeans.org/issues/show_bug.cgi?id=66043 Closing this issue as a duplicate of the bug. *** This issue has been marked as a duplicate of 66043 *** |