From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076450423418.tru64-unix-managers.marc@archive.invalid> From: Chester Liu Date: Fri, 24 Jan 1997 21:27:25 +0000 To: tru64-unix-managers Subject: Configuring Java Dev Kit correctly X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076450423418 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