javac usually says this when it can't find the .java file passed to it. Can you check if MyDocument.java exists in c:/Allen/DesignPatterns/FactoryMethod/ ?
Suraj On Tue, 21 Sep 2004 23:22:44 -0700 (PDT), Allen Hsu <[EMAIL PROTECTED]> wrote: > When I did C-c C-v C-v, javac seems to think the source filename as a > flag. Is there a setting to correct this? > I'm using JDE2.3.4beta5, emacs21.2.1, JDK1.4.2_05. > Thanks. > Allen > > cd c:/Allen/DesignPatterns/FactoryMethod/ > c:/j2sdk1.4.2_05/bin/javac.exe -classpath > c:/Allen/DesignPatterns/FactoryMethod -g -deprecation -O -verbose > -source 1.4 MyDocument.Java > > javac: invalid flag: MyDocument.Java > Usage: javac <options> <source files> > where possible options include: > -g Generate all debugging info > ... > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com >