TeamJava Forum

[ Read Responses | Post a New Response | Return to the Index ]
[ Previous | Previous in Thread | Next ]


Compiling Problem

Posted by Leonardo on Sunday, 7 September 2003, at 6:07 p.m., in response to TEAM JAVA FORUM, posted by Management on Monday, 14 April 2003, at 10:19 a.m.

Im new to Java and I was making a program using Textpad 4. When I finished, I tried to compile and this appeared:

javac: invalid flag: C:\temp\Programas JAVA\Precio.txt
Usage: javac
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 Specify where to find user class files
-sourcepath Specify where to find input source files
-bootclasspath Override location of bootstrap class files
-extdirs Override location of installed extensions
-d Specify where to place generated class files
-encoding Specify character encoding used by source files
-source Provide source compatibility with specified release
-target Generate class files for specific VM version
-help Print a synopsis of standard options

Tool completed with exit code 2

Can u tell me whats wrong? Ive looking at my program and it has no flaws, why cant I compile??


Responses


Post a New Response

Please select: Discussion Question Answer
Pulse Check - enter num: 1067953575

Your Name:

E-Mail Address:

Subject:

Message:


If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:

Optional Link Title:


If you'd like to have the option of deleting your post later,
please provide a password (CASE SENSITIVE!):

Password:



Password:

The TeamJava Forum is maintained with WebBBS 2.24.


TeamJavaHome | Ind. Registry | Co. Registry | Java Links
Jobs Listings Forum | TeamJava Books | Java FAQ Archives

AWN

Copyright © 1995-2003 Active Web Networks, all rights reserved.
(Note: We share no direct association with Sun Microsystems, Inc.)