(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) X Windows :
Why does my spell checker and Java not work in Netscape 4.5b?
Your /etc/profile file should have the following code in it:

export MOZILLA_HOME=/opt/netscape

export CLASSPATH=$MOZILLA_HOME/java/classes/ifc11.jar:
(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 /usr/local/netscape
Note that current LinuxPPC installs like to do a ln -s /opt /usr/local by

Performing a ln -s /opt/netscape /usr/local/netscape here would be, for
obvious reasons, a Grade A1 Bad Idea.
... 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 work?
[Append to This Answer]
Previous: (Answer) How can I change my screen resolution in X?
Next: (Answer) How do I choose another windowmanager instead of KDE?
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=458
[Search] [Appearance]
This is a Faq-O-Matic 2.717d.
Hosted by anduin.org and SourceForge Logo