Javac: Invalid Flag

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
fwdk
Posts: 1
Joined: Tue Oct 12, 2004 6:40 am

Javac: Invalid Flag

Post by fwdk »

I am currently running Windows XP Pro and I have java 2 platform Enterprise edition 1.4 SDK, java 2 Runtime SE 1.4.2_05, and textpad 4.7.
I've installed all three programs and add "C:\Sun\AppServer\jdk\bin" to the path on environment variables.

The textpad compiles but will not execute. It give me an error message saying

javac: invalid flag: Problems
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


What the heck is this mean???
How do I fix it?

I've search the forum and found this site: http://www.textpad.com/forum/viewtopic. ... valid+flag
but my extension is .java but still doesn't work.
Post Reply