* Configuring Java Dev Kit correctly
@ 1997-01-24 21:27 Chester Liu
0 siblings, 0 replies; only message in thread
From: Chester Liu @ 1997-01-24 21:27 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-01-24 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-24 21:27 Configuring Java Dev Kit correctly Chester Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox