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: Configuring Java Dev Kit correctly
Date: Fri, 24 Jan 1997 21:27:25 +0000	[thread overview]
Message-ID: <96076450423418.tru64-unix-managers.marc@archive.invalid> (raw)


Hi,  I'm installing the Java developers kit for our users here, downloaded
from Digital's website.  I installed it in /usr/local/JDK

According to the README, I did:

setenv CLASSPATH .:/usr/local/JDK/classes
setenv JAVA_HOME /usr/local/JDK


I also added /usr/local/JDK/bin to my PATH


Appletviewer works correctly.
Now, I want to use 'java' rather than 'appletviewer' to run java programs.
So I go into the demo directory to run a demo:

rati: [/usr/local/JDK/demo] % cd Clock/

rati: [/usr/local/JDK/demo/Clock] % ls
Clock2.class    Clock2.java     example1.html

rati: [/usr/local/JDK/demo/Clock] % java Clock2.class 
Can't find class Clock2.class



Why does this happen?

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?


Thanks!
Chester Liu
cht@rati.pse.umass.edu

                 reply	other threads:[~1997-01-24 21:27 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