I set the project variables. But during compilation it gives problem.
Its not able to recognize space in the directory name like space in the name "Program Files".
D:\Program Files\thisdire\date\
Is this a bug or how to solve it..
Hi !
I am trying to set up a project . I set the classpath and everyother things requierd.
But on Cc Cv Cc I get following error.
It looks the directory structure I work with has a space in the directory name ("Programme Files"). Looks like that is creating proble. How to solve it. ??
cd D:\current\jps1.1.2\src\petstore\src\com\sun\j2ee\blueprints\petstore\control\web\
javac -classpath "d:/Program Files/tomcat/jakarta-tomcat-4.0/common/lib/servlet.jar";d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/K2Framework.jar";d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/parser.jar";d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/OB.jar;d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/jaxp.jar";d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/classes" -d d:/current/jps1.1.2/src/petstore/src/com/sun/j2ee/blueprints/petstore/control/web/"D:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/classes" -nowarn -target 1.3 ModelManager.java
javac: invalid argument: Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/K2Framework.jar;d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/parser.jar;d:/Program
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
Compilation exited abnormally with code 2 at Wed May 01 20:47:10
I am trying to set up a project . I set the classpath and everyother things requierd.
But on Cc Cv Cc I get following error.
It looks the directory structure I work with has a space in the directory name ("Programme Files"). Looks like that is creating proble. How to solve it. ??
cd D:\current\jps1.1.2\src\petstore\src\com\sun\j2ee\blueprints\petstore\control\web\
javac -classpath "d:/Program Files/tomcat/jakarta-tomcat-4.0/common/lib/servlet.jar";d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/K2Framework.jar";d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/parser.jar";d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/OB.jar;d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/jaxp.jar";d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/classes" -d d:/current/jps1.1.2/src/petstore/src/com/sun/j2ee/blueprints/petstore/control/web/"D:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/classes" -nowarn -target 1.3 ModelManager.java
javac: invalid argument: Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/K2Framework.jar;d:/Program Files/tomcat/jakarta-tomcat-4.0/webapps/estore/WEB-INF/lib/parser.jar;d:/Program
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
Compilation exited abnormally with code 2 at Wed May 01 20:47:10