[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] Java complaint Was: Re: Environment variables for Debian (e.g. JAVA_HOME, etc)



On Fri, Sep 03, 2004 at 04:10:09PM +1000, Matthew Palmer wrote:
> On Fri, Sep 03, 2004 at 07:40:27AM +0200, Sami Dalouche 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.

	if (!strcmp(".class", x+strlen(x)-6)) {
		if (fixit) x[strlen(x)-7]=0;
		else if (prettyerror) printf("Don't specify .class");
		else {
			obscure();
		}
	}

Can we at least have kaffe and friends give a pretty message?

Justin

Attachment: signature.asc
Description: Digital signature


Reply to: