Re: [OT] Java complaint Was: Re: Environment variables for Debian (e.g. JAVA_HOME, etc)
On Fri, Sep 03, 2004 at 02:30:40AM -0400, Justin Pryzby wrote:
> On Fri, Sep 03, 2004 at 04:10:09PM +1000, Matthew Palmer wrote:
> > And people wonder why I don't like Java...
> Can someone explain to me why "java foo.class" has to fail with an
> obscure error? (You're not suppoed to specify .class) Jeez.
I think it's probably something to do with '.' being the namespace
separator, and you could in theory have wanted foo/class.class ... but I
agree that a special-case check would alleviate a lot of confusion.
(I suspect you'd want it only on the command line, not elsewhere classes
are loaded. I have no idea if that's conveniently doable.)
--
Colin Watson [cjwatson@debian.org]
Reply to: