Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #10399
| From | "giuseppe.on.usenet" <giuseppe.on.usenet@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | filenames on the command line |
| Date | 2011-12-01 06:37 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <7ea0b15a-e937-4fb8-9045-f5ffca1cf6de@u6g2000vbg.googlegroups.com> (permalink) |
The current directory has two files:
/* A.java */
package wrk.pkg;
import wrk.B;
class A { B b; }
/* B.java */
package wrk;
public class B { }
The command javac -d . A.java B.java
compiles successfully, while javac -d . A.java
halts because it "cannot find symbol: class B". My question is: by
adding other options, is it possible to have the compiler seek and
compile B.java without specifying the filename on the command line?
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
filenames on the command line "giuseppe.on.usenet" <giuseppe.on.usenet@gmail.com> - 2011-12-01 06:37 -0800
Re: filenames on the command line Lew <lewbloch@gmail.com> - 2011-12-01 06:54 -0800
Re: filenames on the command line "giuseppe.on.usenet" <giuseppe.on.usenet@gmail.com> - 2011-12-01 07:46 -0800
Re: filenames on the command line Lew <lewbloch@gmail.com> - 2011-12-01 09:01 -0800
Re: filenames on the command line Roedy Green <see_website@mindprod.com.invalid> - 2011-12-02 01:56 -0800
Re: filenames on the command line Roedy Green <see_website@mindprod.com.invalid> - 2011-12-02 01:35 -0800
csiph-web