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.

Bug 108832 - Can't compile j2se project on 1.4.2
Summary: Can't compile j2se project on 1.4.2
Status: RESOLVED DUPLICATE of bug 103481
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 108915 108934 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-04 02:29 UTC by mutchd
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mutchd 2007-07-04 02:29:39 UTC
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
Comment 1 ats37 2007-07-06 18:28:59 UTC
*** Issue 108934 has been marked as a duplicate of this issue. ***
Comment 2 ats37 2007-07-06 18:29:46 UTC
*** Issue 108915 has been marked as a duplicate of this issue. ***
Comment 3 ats37 2007-07-06 18:31:48 UTC
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.
Comment 4 Peter Pis 2007-07-10 10:00:36 UTC
Reassigning to "java" for evaluation...
Comment 5 Jiri Prox 2007-07-10 10:39:45 UTC
This should be fixed now. Thanks for your report.

*** This issue has been marked as a duplicate of 103481 ***