Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA03431; Fri, 29 Dec 95 01:42:28 EST
Received: from liquor.cabi.net by MIT.EDU with SMTP
	id AA11401; Fri, 29 Dec 95 01:42:23 EST
Received: (from listadm@localhost) by liquor.cabi.net (8.6.12/8.6.12) id BAA31099; Fri, 29 Dec 1995 01:27:32 -0500
Resent-Date: Fri, 29 Dec 1995 01:27:32 -0500
X-Sender: chapman@saul6.u.washington.edu
Date: Thu, 28 Dec 1995 22:20:14 -0800 (PST)
From: Randy Chapman <chapman@u.washington.edu>
To: Jeff Harrington <russell@best.com>
Cc: java-linux@java.blackdown.org
Subject: Re: Stupid ENV Variable Question Again....
In-Reply-To: <199512282241.OAA26462@shellx.best.com>
Message-Id: <Pine.OSF.3.91l.951228221717.8058F-100000@saul6.u.washington.edu>
Foo: foo-bar
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-Id: <"ss8BO2.0.Nb7.Deuum"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/794
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

On Thu, 28 Dec 1995, Jeff Harrington wrote:

> My java is in /usr/local/java javac is in /usr/local/java/bin.  CLASSPATH 
> is set to /usr/local/java.  OK, I can compile *.java files *if* I do this 
> from /usr/local/java:
> 
> bin/java ~/somewhere/*.java
> 
> But if I do this
> 
> /usr/local/java/bin/java *.java it fails with that wretched 
> 
> dirname: too many arguments
> etc...

So fix where in the script in calls dirname...
J_HOME=/usr/local/java or wherever...

> Also, I can't get the interpreter to work.  bin/java Clock.java just fails 

call the interpreter like so:
bin/java Clock

> Sorry, these questions seem so trivial but I don't see them addressed in 
> the HOWTO nor the FAQ.  The HOWTO tells you to run it with bin/java! 

Thats because they are standard java qustions.  Consult the
sun web page.

--randy

