Results 1 to 4 of 4
  1. #1
    Sthassaris is offline Member
    Join Date
    Jun 2011
    Posts
    2
    Rep Power
    0

    Default Textpad troubles

    I am currently enrolled for a class in CSE, and I'm learning the java program. My first assignment is due soon, and I wanted to work on it early. I'm using JDK u25 and textpad as my IDE. However, when I write any coding and compile it, I recieve the error message:

    "javac: invalid flag: C:\Users\Brandon\Documents\Document1.txt
    Usage: javac <options> <source files>
    use -help for a list of possible options"

    Also, even though I try to save the program as a .java, it is still being saved as .txt. Would anyone help soon? I don't want to get a zero on my first assignment.

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default

    I'm really sorry, but what is mean CSE?
    Skype: petrarsentev
    http://TrackStudio.com

  3. #3
    Sthassaris is offline Member
    Join Date
    Jun 2011
    Posts
    2
    Rep Power
    0

    Default

    CSE is Computer Systems Engineering

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,412
    Rep Power
    25

    Default

    Does your IDE show you the command line it uses when it does a compile?
    Can you copy and post it here?

Similar Threads

  1. help with textpad and jdk
    By pinkdiamondgail in forum New To Java
    Replies: 4
    Last Post: 04-30-2009, 08:32 PM
  2. Same error msg with every program Java Textpad
    By peterdfl in forum New To Java
    Replies: 7
    Last Post: 04-17-2009, 04:49 AM
  3. Textpad colors, lost?
    By Torgero in forum New To Java
    Replies: 0
    Last Post: 01-15-2009, 08:12 PM
  4. Help with using .jar files (in textpad)
    By arlemberg in forum New To Java
    Replies: 1
    Last Post: 11-20-2007, 12:34 AM
  5. about textpad
    By fred in forum New To Java
    Replies: 3
    Last Post: 08-06-2007, 06:02 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •