Compile Problem with Textpad and JDK5

Using the Java SDK with TextPad

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

Post Reply
thlibka
Posts: 1
Joined: Sun Jul 26, 2009 5:29 pm

Compile Problem with Textpad and JDK5

Post by thlibka »

I just downloaded JDK 5 to my windows 2003 and a trial version of Textpad. I tried a very simple program displaying an empty frame, but it would not compile (I did set the path correctly since Java JFC sample programs do run). The Textpad output is: javac: invalid flag: C:\Documents and Settings\ReginaCR\Desktop\SALESGURU_Project\SALESGURU.txt
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
-cp <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
-endorseddirs <dirs> Override location of endorsed standards path
-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
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system

I have no clue what this means or what to do next. Has anyone else seen this before? Any hints would be welcome since this is a project I need to do to (finally) complete an MS in comp sci.
Post Reply