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.
Attempting to compile a project under 1.4.2 in 6.0m10 creates the following error javac: invalid flag: -Djava.endorsed.dirs=C:\Program Files\NetBeans 6.0M10\java1\modules\ext\jaxws21\api Usage: javac <options> <source files> where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -source <release> Provide source compatibility with specified release -target <release> Generate class files for specific VM version -help Print a synopsis of standard options -Djava.endorsed.dirs is not a supported compiler flag for 1.4.2 cheers Dan
*** Issue 108934 has been marked as a duplicate of this issue. ***
*** Issue 108915 has been marked as a duplicate of this issue. ***
As noted in #108915, this doesn't only affect j2se projects nor only JDK 1.4. I had a web project using IBM's JDK 1.3.1, and that showed the same error.
Reassigning to "java" for evaluation...
This should be fixed now. Thanks for your report. *** This issue has been marked as a duplicate of 103481 ***