Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA01008; Thu, 28 Dec 95 23:38:25 EST
Received: from liquor.cabi.net by MIT.EDU with SMTP
	id AA08625; Thu, 28 Dec 95 23:38:20 EST
Received: (from listadm@localhost) by liquor.cabi.net (8.6.12/8.6.12) id XAA29842; Thu, 28 Dec 1995 23:14:36 -0500
Resent-Date: Thu, 28 Dec 1995 23:14:36 -0500
From: Jeff Harrington <russell@best.com>
Message-Id: <199512282241.OAA26462@shellx.best.com>
Subject: Stupid ENV Variable Question Again....
To: java-linux@java.blackdown.org
Date: Thu, 28 Dec 1995 14:41:30 -0800 (PST)
X-Mailer: ELM [version 2.4 PL24]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length:       1065
Resent-Message-Id: <"mt5zT.0.pH7.phsum"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/793
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

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...

Also, I can't get the interpreter to work.  bin/java Clock.java just fails 
with invalid class name.  When I look at the shell script which *is* 
java, it seems to have JAVA_HOME and J_HOME defined...  Can I just ditch 
that and run javah?  Maybe some kind soul could post a shell script which 
sets all the variables necessary to compile and run programs from 
anywhere on my system?  I'm getting sick of making dummy html 
files just so I can see my program.

Just how do you make an application anyway (rather than an applet)?  
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! 

Thanks!

Jeff Harrington
jeff@parnasse.com
http://www.parnasse.com




