javac mistakes filename for flag

2004-09-22 Thread Allen Hsu
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

Re: javac mistakes filename for flag

2004-09-22 Thread Suraj Acharya
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

javac mistakes filename for flag

2004-09-22 Thread Paul Kinnucan
Allen Hsu writes: 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? Allen, Please submit a full bug report (see the JDEE web site and the Submit Problem Report item on the JDEE's help menu) when asking for tech support. The

Re: javac mistakes filename for flag

2004-09-22 Thread Suraj Acharya
The problem is probabaly the capital J in the your file extension for MyDocument.Java You must be using windows, filenames are case insensite there and emacs will allow you to open a file called MyDocument.Java even if you originally created a MyDocument.java. Javac, however, doesn't seem to treat

Re: javac mistakes filename for flag

2004-09-22 Thread Allen Hsu
Suraj, The culprit is indeed capital J in file extension. After I changed the case, the problem goes away. Thank you very much for the help. Allen --- Suraj Acharya [EMAIL PROTECTED] wrote: The problem is probabaly the capital J in the your file extension for MyDocument.Java You must be