Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA13855; Tue, 19 Dec 95 13:24:26 EST
Received: from liquor.cabi.net by MIT.EDU with SMTP
	id AA13784; Tue, 19 Dec 95 13:24:23 EST
Received: (from listadm@localhost) by liquor.cabi.net (8.6.12/8.6.12) id LAA20324; Tue, 19 Dec 1995 11:36:11 -0500
Resent-Date: Tue, 19 Dec 1995 11:36:11 -0500
X-Sender: chapman@saul6.u.washington.edu
Date: Tue, 19 Dec 1995 08:33:01 -0800 (PST)
From: Randy Chapman <chapman@u.washington.edu>
To: "Christopher L. Morrow" <morrowc@trantor.anser.org>
Cc: java-linux@java.blackdown.org
Subject: Re: New-ish jdk Questions
In-Reply-To: <199512191551.KAA00855@trantor.anser.org>
Message-Id: <Pine.OSF.3.91l.951219083002.7150q-100000@saul6.u.washington.edu>
Foo: foo-bar
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-Id: <"qKWYy.0.1z4.Tckrm"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/763
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org


The fact that there is no HotJava is covered in the HOWTO.  The other
problem (and fix) I thought was, but is apparently not.

in .java_wrapper, there is code akin to the follwing:

PRG=`which $0`
J_HOME=`dirname $PRG`/..

Unfortunately, linux's standalone which command is hideously broken
(which /bin/ls fails), and certain shells will set $0 to the full
pathname.  The fix is either to use:
J_HOME=`dirname $0`/..
Or, safer:
J_HOME=/usr/local/java

A similar change also needs to be made to the appletviewer script.

--randy

On Tue, 19 Dec 1995, Christopher L. Morrow wrote:

> Hmm, not to ask a stupid question (again...) but,
> I got the new jdk (common and static since I have no motif libs)
> and now after I installed the jdk files in /usr/local (before I had things in 
> /usr/local/netscape since that's where netscape wanted things...)
> I nolonger have a hotjava "executable" script I guess really, eh? everything
> points to a .java_wrapper file which is apparently not working
> properly.  I've flipped through the HOWTO and can not figure out my 
> problem...anyone wanna take a stab at this?
> 
> Also, hotjava says something about can't find class browser.hotjava
> which doesn't exist in the classes directory as far as I can tell.
> 
> Config:
> 
> linux 1.3.44
> 
> Libs:
> ldconfig v1.7.11
> all other libs are up to snuff...atleast as much as they should be:)
> 
> ANyhelp would be greatly appreciated.
> 
> 
> 

