How did you create the file? Did you use a text editor, like Textpad or Notepad, or did you use an
RTF editor like Wordpad or a
Word Processlor like MS Word? The java compiler can only deal with plain text, so
you should only use the first category to work on your Java files.
Of course, somethign more sisister may be going on, so please 1). Post your code and 2). Post the command that you are trying to use to compile it.
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.