I had to name it explicitly at work (sparc-sun-solaris-2.5.1) and home
(i586-slackware-linux-gnulib1) to get Netscape to work.
export CLASSPATH=...:${MOZILLA_HOME}/java/classes/java40.jar:...
Pete
______________________________ Reply Separator _________________________________
Subject: Re: Netscape/CLASSPATH question
Author: song ([EMAIL PROTECTED]) at lon-mime
Date: 24/11/98 13:37
It will do if I remove MOZILLA_HOME and CLASSPATH
from the .bashrc file (so they are not defined). It sounds
strange but it works somehow.
Mike
--
Mike Song wrote:
> Hello all,
>
> Question:
> Netscape complains that it could not find java40.jar in
> the directories listed in $CLASSPATH.
>
> My system:
> RH Linux 5.2/Netscape 4.5/PC
>
> In my .bashrc file:
> MOZILLA_HOME=/usr/local/netscape
> export MOZILLA_HOME
> CLASSPATH=$MOZILLA_HOME/java/classes:$HOME/java/tutorial
> export CLASSPATH
>
> env command correctly report above settings. Directory and file
> permissions are also OK. java40.jar is located in
> $MOZILLA_HOME/java/classes directory
>
> When I start netscape to load a HTML file (which loads an
> applet), netscape gives the following error message:
> Unable to start a java applet, can not find java40.jar in your
> CLASSPATH...
> Current value of CLASSPATH:
> /usr/local/netscape/java/classes:...............
>
> The reported CLASSPATH actually contains the directory where
> java40.jar is located. The reported CLASSPATH contains more directories
> than the settings from .bashrc file.
>
> (By the way, I am able to start the same applet by:
> appletviewer HelloWorld.html)
>
> Any idear why?
>
> Appreciate you help !
>
> Mike Song
> [EMAIL PROTECTED]