Your /etc/profile file should have the following code in it:
(note: take out the line breaks)
Note that the CLASSPATH indicates each of the files in the netscape/java/classes
NOTE for 4.05: Should no longer need to set CLASSPATH, but I've found you do need
it in 4.5, better safe than sorry.
Because older versions of netscape have resided in /usr/local/netscape, I found
that it helps to create a symlink to /opt/netscape from there, like this:
ln -s /opt/netscape /email@example.com
... and yet, I still can't get Netscape 4.5 to use Java properly in LinuxPPC R4.
I have my MOZILLA_PATH and CLASSPATH set appropriately, and have tried a fair
quantity of permutations (being exact about the /opt/netscape instead of using
$MOZILLA_PATH, using /usr/local/netscape instead of /opt/netscape, trying to use
the old Netscape 4.04 java files in /usr/lib/netscape/java/classes... etcetera).
Does Java work in the release version of Netscape 4.5 for anyone?
If so, what should I do to mine to make it firstname.lastname@example.org