Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: my java is broken ! Date: Fri, 4 May 2012 17:04:39 -0700 (PDT) Organization: http://groups.google.com Lines: 20 Message-ID: <12032768.867.1336176279160.JavaMail.geo-discussion-forums@pbyy9> References: <15508526.29.1336086347980.JavaMail.geo-discussion-forums@ynjj16> NNTP-Posting-Host: 69.28.149.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1336177290 9031 127.0.0.1 (5 May 2012 00:21:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 5 May 2012 00:21:30 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 Xref: csiph.com comp.lang.java.programmer:14275 bilsch wrote: > Also, a pain in the ass is I must change directory to where the source > file resides to compile. I must change directory to where the .class > file resides in order to run. These directories are different for every > project therefore it's not practical to automate with a script. That is totally untrue. Both the compiler ("javac") and the runtime ("java") respect classpaths, and the latter respects source paths. With those, you can compile and run Java code from any directory regardless of your current directory. Please, please, please, please, *please* RTFM! Especially before you start ranting incorrectly about what is not possible. Why did you ignore the earlier advice to do that? -- Lew