Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA12038; Tue, 13 Feb 96 19:09:08 EST
Received: from liquor.cabi.net by MIT.EDU with SMTP
	id AA25504; Tue, 13 Feb 96 19:08:46 EST
Received: by liquor.cabi.net (8.7.3/8.7.3) id OAA11893; Tue, 13 Feb 1996 14:46:28 -0500
Resent-Date: Tue, 13 Feb 1996 14:46:28 -0500
Date: Tue, 13 Feb 1996 11:44:26 -0800 (PST)
From: Neil Archibald <neil@ohio.catapult.com>
To: Karl Asha <karl@ncm.com>
Cc: java-linux@java.blackdown.org
Subject: Re: Performance issues
In-Reply-To: <199602131901.OAA04242@bedroom.cabi.net>
Message-Id: <Pine.SUN.3.91.960213113920.227D-100000@ohio>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-Id: <"a-DZA.0.fu2.oeE8n"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/1129
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

On Tue, 13 Feb 1996, Karl Asha wrote:

> Neil Archibald writes:
>  > 
>  > I'm sad to bring this up, but I've quit using the Linux java kit, (kind 
>  > of) on the basis that using the netscape hack way of compiling java 
>  > programs against the linux's try1 classes.zip IS ACTUALLY faster. Even 
> 
> I only managed to get it to run them, how do you get netrape to 
> compile them too?
> 

Ok, I thought this was common knowledge after the 'leak' from Sun the 
other week, but here goes:


get *ANY* JDK distribution (platform is NOT important).

find classes.zip, then add the following to your environment variables 
(csh example shown) :

setenv CLASSPATH .:PATH_TO_moz2_0.zip:PATH_TO_classes.zip

eg.

setenv CLASSPATH .:${HOME}/.netscape/moz2_0.zip:${HOME}/.netscape/classes.zip

then to uses 'javac' type:

netscape -java sun.tools.javac.Main program.java

you will find that it exactly mimics javac

the java executor, java, can be got with:

netscape -java classname

the applet viewer didn't work for me, but should be:

netscape -java sun.applet.AppletViewer



The first two work well, and sadly, with better performance than the try3
tools.

Note, that this will NOT work with the Linux JDK before try1, since 
classes.zip didn't exist, but it will work with try1, and the Solaris2 
JDKs.

Btw, you might want to setup aliases to the above if you are pleased with 
the performance.

Neil.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQBtAzCOpJEAAAEDAN3Bv1/AJavy2KW4YsZaMgE1n/LYBJ1mFJrUrnGnKVOjQo7C
eLEmoc/LKNKuUbyeIGpbRZYjNXOKnwspKBz5RKVP4GC2zSYoqUUkfNFlSN5/8ouQ
bF7ak7JVYhyNs/OpRQAFEbQiTmVpbCBBcmNoaWJhbGQgPG5laWxAY2F0YXB1bHQu
Y29tPg==
=YzLB
-----END PGP PUBLIC KEY BLOCK-----

