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.
NetBeans IDE Dev (Build 200705081800) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_US (nb); Cp1252 after upgrading to recent daily, compiling a java project with existing sources fails with this error: javac: invalid flag: -Djava.endorsed.dirs=C:\Program Files\NetBeans 6.0 Dev\java1\modules\ext\jaxws21\api Usage: javac <options> <source files> ... the offending line in the 'build-impl.xml' file (attached) is this: <compilerarg line="-Djava.endorsed.dirs='@{jaxwsendorsed}'"/> the 'java' command has a '-D' option, but 'javac' does not.
Created attachment 42246 [details] build-impl.xml
BTW, this is not a web or J2EE project; it's just a plain old java project. i tried creating the project from scratch with the same result.
it looks like duplicate of issue 103481 *** This issue has been marked as a duplicate of 103481 ***
javac does not have general '-D...' option, but it has '-Djava.endorsed.dirs=<dirs>' option which is being used here (see javac -X) Can you run build on your affected project with ant verbosity level set to Verbose (in Tools->Options->Misc.->Ant) and attach an output of the build to this issue, please?
there is no such option for jdk 1.4.2_13
You didn't say that you use jdk1.4.2 for project... Now I see this is a dup