On Saturday 30 December 2000 13:01, you wrote:
> I've never encountered this problem, but my
> /usr/share/doc/netscape-common-4.76/README file says:
>
> ---------------------------------------
> Java Applet Support:
>
>           Java Applet support is available for all Unix platforms.
>
>           To run Java applets with the Java-enabled version, Communicator
>           needs to be able to load Java class files from a file called
>           java40.jar.  This file is included in the distribution, and is
>           searched for using the following algorithm:
>
>              if($CLASSPATH environment variable is set)
>                  Look at $CLASSPATH, where $CLASSPATH is a
>                  colon-delimited list of <path>/<jar-file> entries.
>              else
>                  Search in order:
>                      <program directory>
>                      $MOZILLA_HOME/java/classes
>                      $HOME/.netscape
>                      /usr/local/netscape/java/classes
>                      /usr/local/lib/netscape
>
>           If you were running Java with an earlier version of the Netscape
>           Navigator, you need to replace your old moz2_0.car file, moz*.zip
>           file, or java_3* file with the new java40.jar file supplied in
> this distribution.
> ---------------------------------------
>
> So I'm guessing you need the file "java40.jar" in one of the locations
> mentioned in the README file.

You say that maybe I need java40.jar in one of the above locations?  OK..
I don't have it there but I do have java40.jar in : 
/opt/netscape/java/classes.   That is where I had netscape installed and
it works there ok but it is different from the directories you indicate.. 
Does it mean that we don't have a choice where we want to put Netscape?
>
> The system I'm on right now has this file:
> $ locate java40.jar
> /usr/lib/netscape/java/classes/java40.jar

This is where I used to have java40.jar installed. Not anymore..

>
> Do you have the java40.jar file on your system? maybe copying it into your
> ~/.netscape directory will fix your problem?
>

OK.. Well I just copied java40.jar into $HOME/.netscape and now the netscape 
error NO LONGER comes up!  Wow. What a good feeling.
But I am sure this is NOT the real fix..

> Or else you could try setting the variable CLASSPATH so it point to the
> right location: CLASSPATH=/path/to/java40/jar; export CLASSPATH
> (then put it in your ~/.bash_profile to make it permenant).

Well I just did that. I followed your  directions as follows:
CLASSPATH=/opt/netscape/java/classes  and then ran export CLASSPATH and
nothing came up..

Oooops. Mistake!  I just ran $CLASSPATH and up came the path I installed. So, 
that works but I took out java40.jar from my ./netscape directory and up came 
that errror in netscape when I tried to run a video (using RealPlayer8)..  It 
still stays it can't find java40 in my CLASSPATH and shows me a number of 
path statements which are no longer valid; one being a path to 
/usr/lib/netscape.  So, I wonder if I should re-install netscape? Or just 
leave java40.jar in ./netscape?  That works but a problem still exists?  I 
would like to get that fixed (somehow)..

>
> --
> Larry Grover, PhD
> Assoc Prof of Physiology
> Marshall Univ Sch Med
>
> On Sat, 30 Dec 2000 11:14:47 -0400, Ted Gervais <[EMAIL PROTECTED]> wrote:
> > I wonder if anyone can help here. When I am in Netscape and bring up a
> > video clip, I get this error:
> >
> > 'netscape: error'
> > 'Unable to start a java applet. Can't find 'java40.jar' in your
> > CLASSPATH.
> >
> > 'Current value of CLASSPATH:
> >
> > ..and here it lists various path's which no longer exist??
> >
> > How do I amend my CLASSPATHs? I currently have my PATH' s set to point to
> > 'java40.jar' but I still get this netscape error?
> >
> > Where and how do I change the CLASSPATH's ??
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Ted Gervais
Coldbrook, Nova Scotia Canada





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to