tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Chester Liu <cht () rati ! pse ! umass ! edu>
To: tru64-unix-managers
Subject: SUMMARY:  Configuring Java Dev Kit
Date: Sat, 25 Jan 1997 01:02:01 +0000	[thread overview]
Message-ID: <96076450423420.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to Keith A. Scollick for his quick reply!  My original question
concerned what to do with the Java Dev Kit after I download it.

First of all, the JDK cam be found at:

http://www.unix.digital.com/products/internet/


After downloading it, unpack it somewhere in /usr/local, /usr/local/JDK 
for example.  Then: 

> 
> setenv CLASSPATH .:/usr/local/JDK/classes
> setenv JAVA_HOME /usr/local/JDK
> 
> I also added /usr/local/JDK/bin to my PATH
> 

to run Java programs (compiled Java bytecode programs always have the
.class suffix) just type:

java programname

DON'T type the '.class' after programname.  That's what tripped me!

> 
> The other problem is, I use Netscape 3.01 with Java enabled and the Java 
> classes are installed in /usr/local/lib/netscape.  Now I can't use the JDK
> and Netscape without having to change CLASSPATH each time.  Is there a
> workaround?
> 


I decided to make a simple shell script and call that instead of netscape.
The LD_LIBRARY_PATH stuff is because I'm running on DU 4.0A and needed
netscape to use the 3.2 libraries in order to run java.


#!/bin/sh
LD_LIBRARY_PATH="/usr/local/shlib/OSF3.2"
export LD_LIBRARY_PATH
CLASSPATH="/usr/local/lib/netscape"
export CLASSPATH
/usr/local/bin/netscape




Chester Liu

                 reply	other threads:[~1997-01-25  1:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox