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 10743 - Javac compiler fails with spaces in path
Summary: Javac compiler fails with spaces in path
Status: CLOSED DUPLICATE of bug 6427
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-27 19:08 UTC by Erik Pearson
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 Erik Pearson 2001-03-27 19:08:40 UTC
I have a space in the directory name that this project resides in.  I can 
compile individual files fine, but when building or compiling entire 
directories I get this error:

javac: invalid argument: C:\Documents
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
  -O                        Optimize; may hinder debugging or enlarge class file
  -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
  -target <release>         Generate class files for specific VM version
Errors compiling jrowcopy.
Comment 1 Svata Dedic 2001-03-28 07:25:09 UTC
Lowering priority - description/effects does not suggest the P-1 cathegory 
(blocked primary functionality, no work-around). That does not mean that it 
won't be fixed soon!
Comment 2 Svata Dedic 2001-04-03 10:06:07 UTC
Seems to work in NetBeans 3.2
What build did you use ? If it was 3.2.whatever, then please reopen the issue 
and attach your ide.log file (external execs including external compilations 
are logged into the ide.log)
Comment 3 Erik Pearson 2001-04-03 17:42:11 UTC
Can't reproduce in current beta.
Comment 4 Jesse Glick 2002-03-25 04:13:25 UTC
x
Comment 5 Jesse Glick 2002-03-25 04:13:35 UTC

*** This issue has been marked as a duplicate of 6427 ***
Comment 6 Quality Engineering 2003-07-01 13:12:39 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2003-07-01 13:20:35 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.