Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: filenames on the command line Date: Fri, 02 Dec 2011 01:56:16 -0800 Organization: Canadian Mind Products Lines: 28 Message-ID: References: <7ea0b15a-e937-4fb8-9045-f5ffca1cf6de@u6g2000vbg.googlegroups.com> <2304640.475.1322751289109.JavaMail.geo-discussion-forums@prfx15> Reply-To: Roedy Green NNTP-Posting-Host: Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10417 On Thu, 1 Dec 2011 06:54:48 -0800 (PST), Lew wrote, quoted or indirectly quoted someone who said : >> /* A.java */ >> package wrk.pkg; > >This needs to be in directory "wrk/pkg/" relative to one of the classpath roots. This drives every newbie nuts. I discovered that thinking about HOW the compiler finds java source and how java.exe finds classes made it all fall into place. see http://mindprod.com/jgloss/helloworld.html http://mindprod.com/jgloss/classpath.html http://mindprod.com/jgloss/package.html http://mindprod.com/jgloss/javacexe.html http://mindprod.com/jgloss/javaexe.html -- Roedy Green Canadian Mind Products http://mindprod.com For me, the appeal of computer programming is that even though I am quite a klutz, I can still produce something, in a sense perfect, because the computer gives me as many chances as I please to get it right.