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 12319 - Problems with spaces in classpath
Summary: Problems with spaces in classpath
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
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-21 20:18 UTC by Erik Pearson
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 Erik Pearson 2001-05-21 20:18:23 UTC
I've run into an issue with problems with compiler when spaces occur in 
directories.  Here's the error message I'm seeing:

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.

This happens when I right click on the filesystem and choose build all or 
compile all.

Source filesystem (internal cvs):
C:\Documents and Settings\erik\My Documents\dev\java\gef\cvswork\gef\src

Target directory:
C:\Documents and Settings\erik\My Documents\archive\dev\java\gef\build
Comment 1 Jesse Glick 2001-05-22 13:49:43 UTC
Movng to java, unless it is demonstrably a problem in ExternalCompilerGroup.
Comment 2 Tomas Hurka 2001-05-22 15:27:19 UTC

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